aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/user.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-18 21:41:50 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-18 21:41:50 +0100
commita2336c5de836267a4e88961422fc3f26cedab47e (patch)
tree18dbc1fb5d09cba02f5c54cae764f3610570d3ff /src/web/views/user.py
parentfix migration script (diff)
downloadnewspipe-a2336c5de836267a4e88961422fc3f26cedab47e.tar.gz
newspipe-a2336c5de836267a4e88961422fc3f26cedab47e.tar.bz2
newspipe-a2336c5de836267a4e88961422fc3f26cedab47e.zip
we now specify the validity period of the activation link.
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 57153003..06dc2089 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -111,7 +111,7 @@ def confirm_account(token=None):
user_contr = UserController()
user, email = None, None
if token != "":
- email = confirm_token(token, expiration=3600)
+ email = confirm_token(token)
if email:
user = user_contr.read(email=email).first()
if user is not None:
bgstack15