mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 11:27:46 +01:00
refac: rm OAUTH_USE_PICTURE_CLAIM
This commit is contained in:
@@ -331,11 +331,6 @@ JWT_EXPIRES_IN = PersistentConfig(
|
||||
# OAuth config
|
||||
####################################
|
||||
|
||||
OAUTH_USE_PICTURE_CLAIM = PersistentConfig(
|
||||
"OAUTH_USE_PICTURE_CLAIM",
|
||||
"oauth.oidc.use_picture_claim",
|
||||
os.environ.get("OAUTH_USE_PICTURE_CLAIM", "True").lower() == "true",
|
||||
)
|
||||
|
||||
ENABLE_OAUTH_SIGNUP = PersistentConfig(
|
||||
"ENABLE_OAUTH_SIGNUP",
|
||||
@@ -343,6 +338,7 @@ ENABLE_OAUTH_SIGNUP = PersistentConfig(
|
||||
os.environ.get("ENABLE_OAUTH_SIGNUP", "False").lower() == "true",
|
||||
)
|
||||
|
||||
|
||||
OAUTH_MERGE_ACCOUNTS_BY_EMAIL = PersistentConfig(
|
||||
"OAUTH_MERGE_ACCOUNTS_BY_EMAIL",
|
||||
"oauth.merge_accounts_by_email",
|
||||
@@ -472,6 +468,7 @@ OAUTH_USERNAME_CLAIM = PersistentConfig(
|
||||
os.environ.get("OAUTH_USERNAME_CLAIM", "name"),
|
||||
)
|
||||
|
||||
|
||||
OAUTH_PICTURE_CLAIM = PersistentConfig(
|
||||
"OAUTH_PICTURE_CLAIM",
|
||||
"oauth.oidc.avatar_claim",
|
||||
|
||||
Reference in New Issue
Block a user