Merge remote-tracking branch 'origin/master'

This commit is contained in:
Mawoka
2023-05-28 12:32:52 +02:00
+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(