From 60bc6236836dfa518363db343c3fbe83c5b6069f Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 6 Dec 2019 20:59:06 +0100 Subject: login: Add missing commit when updating session --- fbin/login.py | 1 + 1 file changed, 1 insertion(+) (limited to 'fbin') 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 -- cgit v1.2.3