mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-19 12:54:12 +02:00
refactor: rename OAuth2 variables to OpenID for clarity
This commit is contained in:
@@ -26,8 +26,8 @@ SECRET = config.token_secret
|
||||
LIFETIME = config.session_lifetime
|
||||
|
||||
if (
|
||||
os.getenv("OAUTH_ENABLED") is not None
|
||||
and os.getenv("OAUTH_ENABLED").upper() == "TRUE"
|
||||
os.getenv("OPENID_ENABLED") is not None
|
||||
and os.getenv("OPENID_ENABLED").upper() == "TRUE"
|
||||
):
|
||||
openid_config = OpenIdConfig()
|
||||
openid_client = OpenID(
|
||||
|
||||
Reference in New Issue
Block a user