Updated form and fixed existing tests.

This commit is contained in:
Nicholas Staples
2016-03-03 13:00:12 +00:00
parent 32b84f4ce2
commit 9e710711cb
7 changed files with 73 additions and 58 deletions

View File

@@ -9,6 +9,10 @@ from app.main.encryption import hashpw
from app import user_api_client
# TODO fix up this, do we really need this class why not just use the clients
# directly??
@login_manager.user_loader
def load_user(user_id):
return get_user_by_id(user_id)