diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-08-04 09:14:08 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-08-04 09:14:08 +0200 |
commit | 2bcedb16987aa75889a7f7091893775d6e58a8dc (patch) | |
tree | e51ebb5ece114b82670aa7afa27a77cd5f32a8db /pyaggr3g470r/models/user.py | |
parent | Merged in jaesivsm/pyaggr3g470r (pull request #20) (diff) | |
download | newspipe-2bcedb16987aa75889a7f7091893775d6e58a8dc.tar.gz newspipe-2bcedb16987aa75889a7f7091893775d6e58a8dc.tar.bz2 newspipe-2bcedb16987aa75889a7f7091893775d6e58a8dc.zip |
By hoping this closes #9 without adding another bug.
Diffstat (limited to 'pyaggr3g470r/models/user.py')
-rw-r--r-- | pyaggr3g470r/models/user.py | 4 |
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): """ |