mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Disable the master password requirement when using alternative authentication sources. Fixes #7012
This commit is contained in:
committed by
Akshay Joshi
parent
bf974e73ce
commit
0c823455a0
@@ -750,7 +750,8 @@ def index():
|
||||
auth_source = session['auth_source_manager'][
|
||||
'source_friendly_name']
|
||||
|
||||
if not config.MASTER_PASSWORD_REQUIRED and 'pass_enc_key' in session:
|
||||
if not config.MASTER_PASSWORD_REQUIRED and 'pass_enc_key' in session\
|
||||
and not config.ALTERNATE_ENCRYPTION_KEY:
|
||||
session['allow_save_password'] = False
|
||||
|
||||
response = Response(render_template(
|
||||
|
||||
Reference in New Issue
Block a user