mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 15:26:46 -06:00
Ensure the save password option is enabled when creating a server. Fixes #2540
This commit is contained in:
parent
e5bedf088e
commit
ca7fe9a520
@ -692,7 +692,7 @@ define('pgadmin.node.server', [
|
||||
return m.get('connect_now') && m.isNew();
|
||||
},
|
||||
disabled: function(m) {
|
||||
return current_user.allow_save_password;
|
||||
return !current_user.allow_save_password;
|
||||
}
|
||||
},{
|
||||
id: 'role', label: gettext('Role'), type: 'text', group: gettext('Connection'),
|
||||
|
Loading…
Reference in New Issue
Block a user