Hi,
PFA minor patch to fix the issue, where user is not able to save the
password even if config.py has option "ALLOW_SAVE_PASSWORD = True".
RM#2540
--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
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 3456058..5f05c1d 100644
--- a/web/pgadmin/browser/server_groups/servers/static/js/server.js
+++ b/web/pgadmin/browser/server_groups/servers/static/js/server.js
@@ -692,7 +692,7 @@ define('pgadmin.node.server', [
return m.get('connect_now') && m.isNew();
},
disabled: function(m) {
- return current_user.allow_save_password;
+ return !current_user.allow_save_password;
}
},{
id: 'role', label: gettext('Role'), type: 'text', group:
gettext('Connection'),