Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/en_US/release_notes_9_16.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ Housekeeping

Bug fixes
*********

| `Issue #9230 <https://github.com/pgadmin-org/pgadmin4/issues/9230>`_ - Renamed the server "Change Password" menu option and dialog to "Change Server Password" (including the connected username) to make clear it changes the PostgreSQL server password, not the pgAdmin login password.
8 changes: 6 additions & 2 deletions web/pgadmin/browser/server_groups/servers/static/js/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ define('pgadmin.node.server', [
},{
name: 'change_password', node: 'server', module: this,
applies: ['object'], callback: 'change_password',
label: gettext('Change Password...'), priority: 10,
label: gettext('Change Server Password...'), priority: 10,
enable : 'is_connected',data: {
data_disabled: gettext('Please connect server to enable change password.'),
},
Comment on lines +129 to 132
Expand Down Expand Up @@ -364,7 +364,11 @@ define('pgadmin.node.server', [
if (res.success && res.data.is_pgpass) {
is_pgpass_file_used = true;
}
showChangeServerPassword(gettext('Change Password'), d, obj, i, is_pgpass_file_used);
showChangeServerPassword(
d.user?.name
? gettext('Change Server Password (%s)', d.user.name)
: gettext('Change Server Password'),
d, obj, i, is_pgpass_file_used);
}).catch(function(error) {
pgAdmin.Browser.notifier.pgRespErrorNotify(error);
});
Expand Down
Loading