Bug 22974: Patron password update validation broken
authorOwen Leonard <oleonard@myacpl.org>
Thu, 23 May 2019 13:29:26 +0000 (13:29 +0000)
committerroot <root@f1ebe1bec408>
Thu, 30 May 2019 10:01:42 +0000 (10:01 +0000)
commit990c94721c0822d4660021080f52f5c5edf2ef66
tree450ecd509b29eeab8480252f6bfa9caa2eae951e
parentbf501498634eca478f7f902bb9e41c42731c7622
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@gmail.com>
Signed-off-by: Bin Wen <bin.wen@inlibro.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tt