refactor: rename OAuth2 variables to OpenID for clarity

This commit is contained in:
maxDorninger
2025-05-30 18:50:50 +02:00
parent 888e3e5688
commit 09beb16a1a
2 changed files with 5 additions and 5 deletions

View File

@@ -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(