mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 11:27:46 +01:00
Merge pull request #12376 from MushroomLamp-COB/main
feat: Add option to disable OAuth profile pictures
This commit is contained in:
@@ -331,6 +331,12 @@ 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",
|
||||
"oauth.enable_signup",
|
||||
|
||||
Reference in New Issue
Block a user