[Koha-bugs] [Bug 22974] Patron password update validation broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 24 20:07:00 CEST 2019


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

Bin Wen <bin.wen at inlibro.com> changed:

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

--- Comment #3 from Bin Wen <bin.wen at inlibro.com> ---
Created attachment 90080
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90080&action=edit
Bug 22974: Patron password update validation broken

This patch adds back an include file to the change password template
which was inadvertently removed by Bug 21964. This broke Javascript
validation of the new password fields.

To test, apply the patch and enable the RequireStrongPassword system
preference.

 - Go to Patrons -> Patron details -> Change password.
 - Try entering a weak password in the "New password" field. You should
   get a validation error: "Password must contain at least 3 characters,
   including UPPERCASE, lowercase and numbers."
 - Try entering a password in the second password field which doesn't
   match the first. You should get a validation error: "Please enter the
   same password as above."

Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Bin Wen <bin.wen at inlibro.com>

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


More information about the Koha-bugs mailing list