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

pull/33/head
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

@ -27,4 +27,5 @@ Bug fixes
| `Issue #5465 <https://redmine.postgresql.org/issues/5465>`_ - Fixed an issue where the Edge browser version is showing wrong and warning message gets displayed.
| `Issue #5507 <https://redmine.postgresql.org/issues/5507>`_ - Fixed connection and version number detection issue when the database server is upgraded.
| `Issue #5521 <https://redmine.postgresql.org/issues/5521>`_ - Fixed an issue when dumping servers from a desktop pgAdmin app by providing an option '--sqlite-path'.
| `Issue #5539 <https://redmine.postgresql.org/issues/5539>`_ - Fixed typo in exception keyword.
| `Issue #5539 <https://redmine.postgresql.org/issues/5539>`_ - Fixed typo in exception keyword.
| `Issue #5592 <https://redmine.postgresql.org/issues/5592>`_ - Ensure that pgadmin should be able to connect to the server which has password more than 1000 characters.

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();