]> git.koha-community.org Git - koha.git/commit
Bug 18616 - The "Add forgot password link to OPAC" should allow patrons to use their...
authorDavid Kuhn <techservspec@gmail.com>
Tue, 6 Jun 2017 16:38:07 +0000 (09:38 -0700)
committerMason James <mtj@kohaaloha.com>
Wed, 22 Nov 2017 12:44:00 +0000 (01:44 +1300)
commitac71de28eb8d4fa5fb26125ca72f2a49cc3c4f07
tree3aaf2e2b3fef1797fe1d00e3ee4b7478f88a6141
parent77cc4c104f68f5cdab8dcf7c35d68608bacbdaad
Bug 18616 - The "Add forgot password link to OPAC" should allow patrons to use their library card number in addition to username

Allow patrons to enter either their library card number or user name in the "Log in" box for password recovery.

Most patrons at our library use their card number to log in and are unaware of what their userid is. However there are some who have set a

customized userid and would prefer to use that. This patch would allow either to be entered for password recovery.

To test:
1. Enable the password recovery feature.
2. In the OPAC, click on "Forgot you password?" link and enter a valid library card number.
3. The error message "No account found with the provided information" appears.
4. Apply the patch.
5. Repeat step 2. The recovery email is now sent.

Note: Moved patch from 16711 back here and re-tested.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit e29163af4cde7ce33060716091726e6fa2eef65e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 17085ea1cb67b8022cd912d0313fc8b3d48530da)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
opac/opac-password-recovery.pl