mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-07 22:53:45 -06:00
Ensure that password exec command is included in exported server data json. #6792
This commit is contained in:
parent
e80e82cd7f
commit
4fe47b8e92
@ -492,7 +492,8 @@ def dump_database_servers(output_file, selected_servers,
|
||||
server.connection_params)
|
||||
|
||||
# if desktop mode
|
||||
if not current_app.config['SERVER_MODE']:
|
||||
if not current_app.config['SERVER_MODE'] or \
|
||||
current_app.config['ENABLE_SERVER_PASS_EXEC_CMD']:
|
||||
add_value(attr_dict, "PasswordExecCommand",
|
||||
server.passexec_cmd)
|
||||
add_value(attr_dict, "PasswordExecExpiration",
|
||||
|
Loading…
Reference in New Issue
Block a user