mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-22 15:13:42 -06:00
Fixed Kerberos authentication issue which is broken due to 2FA.
refs #6543
This commit is contained in:
parent
950809ee55
commit
48dc4bacc4
@ -25,8 +25,8 @@ modify the values for the following parameters.
|
||||
:class: longtable
|
||||
:widths: 35, 55
|
||||
|
||||
"MFA_ENABLED","The default value for this parameter is False.
|
||||
To enable 2FA, set the value to *True*"
|
||||
"MFA_ENABLED","The default value for this parameter is True.
|
||||
To disable 2FA, set the value to *False*"
|
||||
"SUPPORTED_MFA_LIST", "Set the authentication methods to be supported "
|
||||
"MFA_EMAIL_SUBJECT", "<APP_NAME> - Verification Code e.g. pgAdmin 4 -
|
||||
Verification Code"
|
||||
|
@ -42,7 +42,7 @@ def get_logout_url() -> str:
|
||||
session['auth_source_manager']['current_source'] == \
|
||||
KERBEROS:
|
||||
return _URL_WITH_NEXT_PARAM.format(url_for(
|
||||
'authenticate.kerberos_logout'), url_for(BROWSER_INDEX))
|
||||
'kerberos.logout'), url_for(BROWSER_INDEX))
|
||||
|
||||
return _URL_WITH_NEXT_PARAM.format(
|
||||
url_for('security.logout'), url_for(BROWSER_INDEX))
|
||||
|
Loading…
Reference in New Issue
Block a user