[Koha-bugs] [Bug 30864] Patron category form - no validation for password expiration field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 1 21:54:55 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30864

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #135539|0                           |1
        is obsolete|                            |

--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 135555
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135555&action=edit
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 at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list