diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2019-12-06 20:59:06 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2019-12-06 20:59:06 +0100 |
commit | 60bc6236836dfa518363db343c3fbe83c5b6069f (patch) | |
tree | 3a0c92af99c252b1a0637b2559c0a46b0b35a773 | |
parent | 535ee82e93cd0b8bc55b44a239351851bb18a441 (diff) |
login: Add missing commit when updating session
-rw-r--r-- | fbin/login.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fbin/login.py b/fbin/login.py index 7647e13..aa3a399 100644 --- a/fbin/login.py +++ b/fbin/login.py @@ -40,6 +40,7 @@ class User: self.user_session.refresh_token = token['refresh_token'] self.user_session.updated = datetime.datetime.utcnow() sess.add(self.user_session) + sess.commit() return True @property |