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

@@ -18,7 +18,7 @@ def choose_service():
@main.route("/services-or-dashboard")
def show_all_services_or_dashboard():
if not current_user.is_authenticated():
if not current_user.is_authenticated:
return redirect(url_for('.index'))
services = service_api_client.get_services({'user_id': current_user.id})['data']