fix(Login): don't prevent login if encryption key is invalid

This commit is contained in:
barredterra 2024-11-07 19:06:25 +01:00
parent 21060acddc
commit e5779373f1

View file

@ -69,7 +69,9 @@ def get_context(context):
)
for provider in providers:
client_secret = get_decrypted_password("Social Login Key", provider.name, "client_secret")
client_secret = get_decrypted_password(
"Social Login Key", provider.name, "client_secret", raise_exception=False
)
if not client_secret:
continue