mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where passwords entered in the 'Connect To Server' dialog were truncated. Fixes #7440
This commit is contained in:
committed by
Akshay Joshi
parent
93bc1f3c57
commit
d90b2621da
@@ -210,13 +210,16 @@ export default class ServerSchema extends BaseUISchema {
|
||||
id: 'gss_encrypted', label: gettext('GSS encrypted?'), type: 'switch',
|
||||
group: gettext('Connection'), mode: ['properties'], visible: obj.isConnected,
|
||||
},{
|
||||
id: 'password', label: gettext('Password'), type: 'password', maxlength: null,
|
||||
id: 'password', label: gettext('Password'), type: 'password',
|
||||
group: gettext('Connection'),
|
||||
mode: ['create'],
|
||||
deps: ['connect_now', 'kerberos_conn'],
|
||||
visible: function(state) {
|
||||
return state.connect_now && obj.isNew(state);
|
||||
},
|
||||
controlProps: {
|
||||
maxLength: null
|
||||
},
|
||||
disabled: function(state) {return state.kerberos_conn;},
|
||||
},{
|
||||
id: 'save_password', label: gettext('Save password?'),
|
||||
@@ -396,6 +399,9 @@ export default class ServerSchema extends BaseUISchema {
|
||||
disabled: function(state) {
|
||||
return !state.use_ssh_tunnel;
|
||||
},
|
||||
controlProps: {
|
||||
maxLength: null
|
||||
},
|
||||
readonly: obj.isConnected,
|
||||
}, {
|
||||
id: 'save_tunnel_password', label: gettext('Save password?'),
|
||||
|
||||
Reference in New Issue
Block a user