mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
resolve incorrect tabulation
This commit is contained in:
parent
159ef78f6f
commit
41e724cdaf
1 changed files with 2 additions and 2 deletions
|
|
@ -1074,8 +1074,8 @@ class OAuthManager:
|
|||
oauth_roles = claim_data.split(OAUTH_ROLES_SEPARATOR)
|
||||
else:
|
||||
oauth_roles = [claim_data]
|
||||
elif isinstance(claim_data, int):
|
||||
oauth_roles = [str(claim_data)]
|
||||
elif isinstance(claim_data, int):
|
||||
oauth_roles = [str(claim_data)]
|
||||
|
||||
log.debug(f"Oauth Roles claim: {oauth_claim}")
|
||||
log.debug(f"User roles from oauth: {oauth_roles}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue