mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-09 22:33:29 +00:00
refac
This commit is contained in:
parent
fcff9c3afd
commit
0fff2fbcab
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +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}")
|
||||
log.info(f"authenticate_user_by_api_key: ...{api_key[-4:]}" if api_key else "authenticate_user_by_api_key: <empty>")
|
||||
# if no api_key, return None
|
||||
if not api_key:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue