From 38cd3327f354c2c2a850b08086a7602c85a4f48c Mon Sep 17 00:00:00 2001 From: Mishika Singh Date: Mon, 15 Jun 2020 16:26:07 +0530 Subject: [PATCH] =?UTF-8?q?Ensure=20that=20pgadmin=20should=20be=20able=20?= =?UTF-8?q?to=20connect=20to=20the=20server=C2=A0which=20has=C2=A0password?= =?UTF-8?q?=20more=20than=201000=20characters.=20Fixes=20#5592?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en_US/release_notes_4_23.rst | 3 ++- web/pgadmin/browser/server_groups/servers/static/js/server.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/en_US/release_notes_4_23.rst b/docs/en_US/release_notes_4_23.rst index 7093819d4..447c3f244 100644 --- a/docs/en_US/release_notes_4_23.rst +++ b/docs/en_US/release_notes_4_23.rst @@ -27,4 +27,5 @@ Bug fixes | `Issue #5465 `_ - Fixed an issue where the Edge browser version is showing wrong and warning message gets displayed. | `Issue #5507 `_ - Fixed connection and version number detection issue when the database server is upgraded. | `Issue #5521 `_ - Fixed an issue when dumping servers from a desktop pgAdmin app by providing an option '--sqlite-path'. -| `Issue #5539 `_ - Fixed typo in exception keyword. \ No newline at end of file +| `Issue #5539 `_ - Fixed typo in exception keyword. +| `Issue #5592 `_ - Ensure that pgadmin should be able to connect to the server which has password more than 1000 characters. \ No newline at end of file diff --git a/web/pgadmin/browser/server_groups/servers/static/js/server.js b/web/pgadmin/browser/server_groups/servers/static/js/server.js index 1c0760906..1d9027884 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/server.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/server.js @@ -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();