[Koha-bugs] [Bug 17924] Fix error in password recovery

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 18 03:10:45 CET 2017


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

Zoe Schoeler <crazy.mental.onion at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #59094|0                           |1
        is obsolete|                            |

--- Comment #2 from Zoe Schoeler <crazy.mental.onion at gmail.com> ---
Created attachment 59132
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59132&action=edit
Bug 17924 - Fix error in password recovery

To test:

- Set OpacResetPassword = allowed
- Make sure you have a user with a username and email
- Go to the OPAC and make sure you are not logged in
- Click on the "Forgot your password?" link
- Fill in "Login" and "Email" and click on "Submit"
- You will get an error that says:

Undefined subroutine &C4::Letters::GetPreparedLetter called at
/home/vagrant/kohaclone/Koha/Patron/Password/Recovery.pm line 142.

- Apply the patch
- The steps above will have added your user to the borrower_password_recovery
  table in the database. Delete it from there to make sure you start a
  fresh reset request.
- Repeat the steps above and notice that the error is gone. You should
  get a nice message instead that says "An email has been sent to [your
  email]".
- Sign off

Signed-off-by: Zoe Schoeler <crazy.mental.onion at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list