Ensure that the user should be able to specify an older date for the account expiration of the role/user. Fixes #6120

This commit is contained in:
Nikhil Mohite
2021-01-15 11:38:08 +05:30
committed by Akshay Joshi
parent f86f58dc56
commit a2edf317a9
3 changed files with 16 additions and 4 deletions

View File

@@ -416,6 +416,7 @@ define('pgadmin.node.role', [
deps: ['rolcanlogin'],
placeholder: gettext('No Expiry'),
helpMessage: gettext('Please note that if you leave this field blank, then password will never expire.'),
setMinDate: false,
},{
id: 'rolconnlimit', type: 'int', group: gettext('Definition'),
label: gettext('Connection limit'), cell: 'integer', min : -1,