🚑 Fixed OAuth

This commit is contained in:
Marlon
2023-05-25 15:51:23 +02:00
committed by GitHub
parent 79adb925ce
commit 6654b73c3e
+2 -1
View File
@@ -33,7 +33,8 @@ def init_oauth() -> OAuth:
client_secret=settings.github_client_secret,
)
if (
settings.custom_openid_provider.client_id is not None
settings.custom_openid_provider is not None
and settings.custom_openid_provider.client_id is not None
and settings.custom_openid_provider.client_secret is not None
):
oauth.register(