mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the Change Password menu option is missing for internal
authentication source when more than one authentication source is defined. Fixes #6989
This commit is contained in:
@@ -740,8 +740,7 @@ def index():
|
||||
session['allow_save_password'] = True
|
||||
|
||||
if config.SERVER_MODE:
|
||||
if len(config.AUTHENTICATION_SOURCES) == 1\
|
||||
and INTERNAL in config.AUTHENTICATION_SOURCES:
|
||||
if session['auth_source_manager']['current_source'] == INTERNAL:
|
||||
auth_only_internal = True
|
||||
auth_source = session['auth_source_manager'][
|
||||
'source_friendly_name']
|
||||
|
||||
Reference in New Issue
Block a user