Bug 22559: Restore OPAC forgotten password functionality
authorLiz Rea <wizzyrea@gmail.com>
Thu, 21 Mar 2019 01:53:54 +0000 (01:53 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Mar 2019 18:56:14 +0000 (18:56 +0000)
commita0b81b906d26312aeb5ef6cab035954ad676790c
tree8b90f9d9bb0a3b8eb85fe8c057bbb8e9a2c40579
parentc194d0e1478b494a1b60416891e589f2ae318e78
Bug 22559: Restore OPAC forgotten password functionality

To test:

Enable OpacResetPassword
Create a borrower with a username and password
Go to the OPAC, try to reset the password (I always get the reset link
        token out of the message_queue in the database rather than worry about
        receiving the actual email. You do you.)
Go to the link provided.
Attempt to set a password, this should fail.
Apply this patch
Go through the process again, password should be reset.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
opac/opac-password-recovery.pl