diff --git a/backend/open_webui/models/auths.py b/backend/open_webui/models/auths.py index 32dcb01..e84d075 100644 --- a/backend/open_webui/models/auths.py +++ b/backend/open_webui/models/auths.py @@ -202,13 +202,11 @@ class AuthsTable: except Exception: return False - def update_user_profile(self, id: str, name: str, profile_image_url: str, role: str) -> bool: + def update_user_profile(self, id: str, name: str) -> bool: try: with get_db() as db: result = db.query(Auth).filter_by(id=id).update({ - "name": name, - "profile_image_url": profile_image_url, - "role": role + "name": name }) db.commit() return True if result == 1 else False