public inbox for [email protected]  
help / color / mirror / Atom feed
From: Aditya Toshniwal <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM5802] Remove max password length in server dialog
Date: Thu, 17 Sep 2020 16:50:36 +0530
Message-ID: <CAM9w-_=H38KOR23HOE1ejcQSOaxEERmrKK2N23eGNr3KGHXFjQ@mail.gmail.com> (raw)

Hi Hackers,

Attached is a tiny patch to remove max length on password field in server
dialog.
Please review.

-- 
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
<http://edbpostgres.com;
"Don't Complain about Heat, Plant a TREE"


Attachments:

  [application/octet-stream] RM5802.patch (788B, 3-RM5802.patch)
  download | inline diff:
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();


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin][RM5802] Remove max password length in server dialog
  In-Reply-To: <CAM9w-_=H38KOR23HOE1ejcQSOaxEERmrKK2N23eGNr3KGHXFjQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox