diff --git a/backend/apps/webui/models/auths.py b/backend/apps/webui/models/auths.py index 353dc854d..616eb70f4 100644 --- a/backend/apps/webui/models/auths.py +++ b/backend/apps/webui/models/auths.py @@ -173,6 +173,7 @@ class AuthsTable: result = ( db.query(Auth).filter_by(id=id).update({"password": new_password}) ) + db.commit() return True if result == 1 else False except: return False