mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
add warning
This commit is contained in:
parent
db0a12f9f1
commit
1b6e12a255
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue