aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/views')
-rw-r--r--pyaggr3g470r/views/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py
index b649d5c6..29b865e0 100644
--- a/pyaggr3g470r/views/views.py
+++ b/pyaggr3g470r/views/views.py
@@ -94,9 +94,9 @@ def before_request():
db.session.commit()
@login_manager.user_loader
-def load_user(email):
+def load_user(id):
# Return an instance of the User model
- return UserController().get(email=email)
+ return UserController().get(id=id)
#
bgstack15