From 87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 7 Apr 2016 10:57:29 +0200 Subject: Bug fix. --- src/web/views/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit