Changing is_authenticated from function to property & updating Flask-Login>=0.3.0

This commit is contained in:
Alejandro Villanueva
2015-09-11 10:31:01 -05:00
parent 4049c06203
commit 7e8551763e
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ def login():
def logout():
"""View function which handles a logout request."""
if current_user.is_authenticated():
if current_user.is_authenticated:
logout_user()
return redirect(request.args.get('next', None) or