aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 10:57:29 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-07 10:57:29 +0200
commit87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77 (patch)
tree889cb9e3283baa4881c612191927bde7b4ea7e39
parentdelete a user (diff)
downloadnewspipe-87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77.tar.gz
newspipe-87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77.tar.bz2
newspipe-87c890a16ceb2d2f786f93f9a4df1a51c6f1aa77.zip
Bug fix.
-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