Merge pull request #12376 from MushroomLamp-COB/main

feat: Add option to disable OAuth profile pictures
This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2025-04-02 19:16:36 -07:00
commit 506950b03a
2 files changed
+47 -34

No files matched your search

+6
View File
@@ -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",