Updated flask-login to version 0.3.2

This commit is contained in:
Adam Shimali
2016-05-04 13:01:55 +01:00
parent d20228ea25
commit 09117e5eeb
11 changed files with 19 additions and 20 deletions

View File

@@ -59,7 +59,7 @@ def verify_email(token):
if not user:
abort(404)
if user.is_active():
if user.is_active:
flash("That verification link has expired.")
return redirect(url_for('main.sign_in'))