aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/web/views/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/views/admin.py b/src/web/views/admin.py
index 34bb0f6c..3db08cd9 100644
--- a/src/web/views/admin.py
+++ b/src/web/views/admin.py
@@ -73,6 +73,7 @@ def process_user_form(user_id=None):
email=form.email.data,
pwdhash=generate_password_hash(form.password.data),
is_admin=False,
+ is_active=True,
refresh_rate=form.refresh_rate.data)
flash(gettext('User %(nick)s successfully created',
nick=user.nickname), 'success')
bgstack15