Ensure that pgadmin should be able to connect to the server which has password more than 1000 characters. Fixes #5592

This commit is contained in:
Mishika Singh
2020-06-15 16:26:07 +05:30
committed by Akshay Joshi
parent 8ab358ccec
commit 38cd3327f3
2 changed files with 3 additions and 2 deletions

View File

@@ -796,7 +796,7 @@ define('pgadmin.node.server', [
id: 'username', label: gettext('Username'), type: 'text', group: gettext('Connection'),
mode: ['properties', 'edit', 'create'], readonly: 'isConnected',
},{
id: 'password', label: gettext('Password'), type: 'password',
id: 'password', label: gettext('Password'), type: 'password', maxlength: '2000',
group: gettext('Connection'), control: 'input', mode: ['create'], deps: ['connect_now'],
visible: function(model) {
return model.get('connect_now') && model.isNew();