]> git.koha-community.org Git - koha.git/commit
Bug 22560: Forgotten password "token expired" page still shows boxes to reset password
authorOwen Leonard <oleonard@myacpl.org>
Fri, 22 Mar 2019 13:19:51 +0000 (13:19 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 1 Apr 2019 16:37:17 +0000 (16:37 +0000)
commit3ade1f52cd4ef73e44997726f8de56d0a9cac810
treec2719bfe26ef68633bb1ab5ad613583fca68c2d2
parent061e95f4b170053b395830e29d9c959abcb0bd43
Bug 22560: Forgotten password "token expired" page still shows boxes to reset password

This patch modifies the OPAC password recovery template so that the new
password entry form doesn't appear if the patron has followed an invalid
or expired link.

This patch also corrects the markup in the page title.

To test, apply the patch and follow the process for resetting a
forgotten password. When you follow the password recovery link, modify
the URL so that the "uniqueKey" parameter is different.

The page should show an error message. The password entry form should
not appear.

Check the page title in the browser's title bar. It should look correct.

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

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 7ac1457ffc27cf6ec5a3a7bab6abc8a010e02b6a)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 34e0f9874f91b22c8fd24f76de74bb3c126d2a1e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt