public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM5802] Remove max password length in server dialog
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM5802] Remove max password length in server dialog
@ 2020-09-17 11:20  Aditya Toshniwal <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Aditya Toshniwal @ 2020-09-17 11:20 UTC (permalink / raw)
  To: pgadmin-hackers

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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin][RM5802] Remove max password length in server dialog
@ 2020-09-17 14:54  Akshay Joshi <[email protected]>
  parent: Aditya Toshniwal <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2020-09-17 14:54 UTC (permalink / raw)
  To: Aditya Toshniwal <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Thu, Sep 17, 2020 at 4:51 PM Aditya Toshniwal <
[email protected]> wrote:

> 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"
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Sr. Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-09-17 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 11:20 [pgAdmin][RM5802] Remove max password length in server dialog Aditya Toshniwal <[email protected]>
2020-09-17 14:54 ` Akshay Joshi <[email protected]>

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