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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 17 15:45:39 CET 2017


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

            Bug ID: 17924
           Summary: Fix error in password recovery
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org

To reproduce: 

- 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.

Adding "use C4::Letters" to Koha/Patron/Password/Recovery.pm fixes this. Patch
coming in a sec.

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


More information about the Koha-bugs mailing list