aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/models')
-rw-r--r--pyaggr3g470r/models/user.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/models/user.py b/pyaggr3g470r/models/user.py
index 0bf9fe04..c3476afc 100644
--- a/pyaggr3g470r/models/user.py
+++ b/pyaggr3g470r/models/user.py
@@ -59,9 +59,9 @@ class User(db.Model, UserMixin):
def get_id(self):
"""
- Return the id (email) of the user.
+ Return the id of the user.
"""
- return self.email
+ return self.id
def set_password(self, password):
"""
bgstack15