summaryrefslogtreecommitdiff
path: root/fbin
diff options
context:
space:
mode:
Diffstat (limited to 'fbin')
-rw-r--r--fbin/login.py1
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