mirror of
https://github.com/open-webui/open-webui
synced 2025-02-23 13:51:07 +00:00
add warning
This commit is contained in:
parent
db0a12f9f1
commit
1b6e12a255
@ -282,6 +282,7 @@ class OAuthManager:
|
||||
|
||||
name = user_data.get(username_claim)
|
||||
if not name:
|
||||
log.warning("Username claim is missing, using email as name")
|
||||
name = email
|
||||
|
||||
role = self.get_user_role(None, user_data)
|
||||
|
Loading…
Reference in New Issue
Block a user