From a25e808e0662d827c4d114923f831635da47b93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aditya=20Toshniwal=C2=A0?= Date: Thu, 17 Sep 2020 20:21:00 +0530 Subject: [PATCH] Remove maximum length on the password field in the server dialog. Fixes #5802 --- docs/en_US/release_notes_4_27.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_27.rst b/docs/en_US/release_notes_4_27.rst index 6287c459e..f70f18f27 100644 --- a/docs/en_US/release_notes_4_27.rst +++ b/docs/en_US/release_notes_4_27.rst @@ -17,4 +17,5 @@ Housekeeping Bug fixes ********* -| `Issue #5417 `_ - Fixed and improve API test cases for the schema diff tool. \ No newline at end of file +| `Issue #5417 `_ - Fixed and improve API test cases for the schema diff tool. +| `Issue #5802 `_ - Remove maximum length on the password field in the server dialog. \ 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 cb375419c..37942da08 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/server.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/server.js @@ -872,7 +872,7 @@ define('pgadmin.node.server', [ }, }), },{ - id: 'password', label: gettext('Password'), type: 'password', maxlength: '2000', + id: 'password', label: gettext('Password'), type: 'password', maxlength: null, group: gettext('Connection'), control: 'input', mode: ['create'], deps: ['connect_now'], visible: function(model) { return model.get('connect_now') && model.isNew();