diff --git a/backend/apps/webui/models/auths.py b/backend/apps/webui/models/auths.py index 9f6bd59e8..353dc854d 100644 --- a/backend/apps/webui/models/auths.py +++ b/backend/apps/webui/models/auths.py @@ -182,6 +182,7 @@ class AuthsTable: with get_db() as db: result = db.query(Auth).filter_by(id=id).update({"email": email}) + db.commit() return True if result == 1 else False except: return False