Bug 20023: Password recovery using email should be case insensitive
authorBlou <philippe.blouin@inlibro.com>
Mon, 17 Sep 2018 20:34:19 +0000 (16:34 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 27 Sep 2018 12:28:04 +0000 (13:28 +0100)
commit0f019c89c18733c0e0220f41012a06c3b39df595
tree7386e5a5744c68a1dae59a7991b467f0e3f5f3ed
parent43b671ac858e9ae63b3ce8e74e555a41600bc383
Bug 20023: Password recovery using email should be case insensitive

When entering an email to recover the password, a user should not have to know or remember the casing of the given email.

Test
0) enable OpacResetPassword
1) On the OPAC, click "Forgot your password"
2) Enter your email address as in your user account BUT WITH A DIFFERENT CASING
3) Submit.  This will fail.
4) Apply the patch, redo with success.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit cc3bc2920744e35256b45b784c9788a64fe6dd04)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-password-recovery.pl