fix(Login): don't prevent login if encryption key is invalid
This commit is contained in:
parent
21060acddc
commit
e5779373f1
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue