aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/user.py')
-rw-r--r--src/web/views/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/user.py b/src/web/views/user.py
index 24f9bedb..f24da37a 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -115,7 +115,7 @@ def confirm_account(token=None):
if email:
user = user_contr.read(email=email).first()
if user is not None:
- user_contr.update({'id': user.id}, {'enabled': True})
+ user_contr.update({'id': user.id}, {'is_active': True})
flash(gettext('Your account has been confirmed.'), 'success')
else:
flash(gettext('Impossible to confirm this account.'), 'danger')
bgstack15