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

@@ -26,7 +26,7 @@ from app import user_api_client
@main.route('/register', methods=['GET', 'POST'])
def register():
if current_user and current_user.is_authenticated():
if current_user and current_user.is_authenticated:
return redirect(url_for('main.choose_service'))
form = RegisterUserForm()