mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-19 01:15:04 -05:00
Ensure the save password option is enabled when creating a server. Fixes #2540
This commit is contained in:
committed by
Dave Page
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'),
|
||||
|
||||
Reference in New Issue
Block a user