From 80ad5fd2d04f296ad1c5e1e4ed91c648f2a81ecb Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 1 Mar 2026 14:06:26 -0600 Subject: [PATCH] refac --- backend/open_webui/models/auths.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/open_webui/models/auths.py b/backend/open_webui/models/auths.py index 0ea1dd412e..25fb873b95 100644 --- a/backend/open_webui/models/auths.py +++ b/backend/open_webui/models/auths.py @@ -146,11 +146,7 @@ class AuthsTable: def authenticate_user_by_api_key( self, api_key: str, db: Optional[Session] = None ) -> Optional[UserModel]: - log.info( - f"authenticate_user_by_api_key: ...{api_key[-4:]}" - if api_key - else "authenticate_user_by_api_key: " - ) + log.info(f"authenticate_user_by_api_key") # if no api_key, return None if not api_key: return None