Koha/koha-tmpl/intranet-tmpl/prog
Jonathan Druart 79396ae625
Bug 30864: Add validation to password_expiry_days
When creating a patron category or editing an existing one, there is no validation for the "Password expiration" field.

If letters or other characters are entered, there is no error message and if not a number whatever is entered is not saved.

To test:
1. Go to Administration > Patrons and circulation > Patron categories.
2. Add a new patron category (or edit an existing category).
3. For the "Password expiration" field, enter letters or characters such as L$%.
=> Note that you are prompted to "Please enter only digits"

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-06 13:49:00 -03:00
..
css Bug 30797: (follow-up) Hide default Flatpickr clear-field button 2022-05-18 17:22:09 -10:00
en Bug 30726: Fix "yesterday" when limited to past dates 2022-06-06 11:51:17 -03:00
img Bug 28993: Switch magnifying glass in staff detail pages to FA icon 2022-02-09 22:01:37 -10:00
js Bug 30864: Add validation to password_expiry_days 2022-06-06 13:49:00 -03:00
pdf
sound