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

--- Comment #6 from Lari Taskula <[email protected]> ---
Created attachment 206880
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206880&action=edit
Bug 43045: Use pin_check.inc for opac-pin.tt

The previous patch centralized PIN code jQuery validators. This patch replaces
validators from opac-pin.tt to the centralized ones.

To test:
1. Navigate to OPAC > your account
2. Navigate to Change PIN
3. Using "New PIN code" and "Repeat new PIN code" fields, test the following:
3.1 add 1 number - error: "PIN code must contain at least n numbers"
    where n is the value of MinPinLength system preference (or at least 3)
3.2 add the letter "a" - error "PIN code must contain only digits"
3.2 add more than n different numbers to both fields - error
    "Please enter the same PIN code as above "

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to