diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-07 10:57:29 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-07 10:57:29 +0200 |
commit | 87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77 (patch) | |
tree | 889cb9e3283baa4881c612191927bde7b4ea7e39 /src/web | |
parent | delete a user (diff) | |
download | newspipe-87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77.tar.gz newspipe-87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77.tar.bz2 newspipe-87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77.zip |
Bug fix.
Diffstat (limited to 'src/web')
-rw-r--r-- | src/web/views/user.py | 2 |
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') |