aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/controllers/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/controllers/user.py')
-rw-r--r--pyaggr3g470r/controllers/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/controllers/user.py b/pyaggr3g470r/controllers/user.py
index ed46e1e7..c6c1d545 100644
--- a/pyaggr3g470r/controllers/user.py
+++ b/pyaggr3g470r/controllers/user.py
@@ -4,4 +4,4 @@ from pyaggr3g470r.models import User
class UserController(AbstractController):
_db_cls = User
- _user_id_key = 'email'
+ _user_id_key = 'id'
bgstack15