Skip to content

Commit

Permalink
Ensure passexec command is included in exported server data.pgadmin-o…
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshmahajan-1903 committed Jan 22, 2024
1 parent a166f8d commit 6884308
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/pgadmin/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6884308

Please sign in to comment.