[Koha-bugs] [Bug 27860] Bad KohaAdminEmailAddress breaks patron self registration and password reset feature

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 5 10:18:43 CET 2021


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

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 117798
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117798&action=edit
Bug 27860: Fix password recovery

Same as the previous patch but for the password recovery feature.

Test plan:
1. Do not apply the patches
2. Set KohaAdminEmailAddress to an invalid email (root at localhost for
instance)
3. Use the password recovery feature
5. Boom (that must be fixed on a separate bug report)
6. Set KohaAdminEmailAddress to a valid email (root at example.org)
7. Use again the password recovery for a different user
8. Still Boom! (because it's processing the first invalid email)
9. Apply the patches, restart_all
10. Try again the password recovery
=> The email is sent!
Notice the change in DB, the first email is still there with status
"pending" and second email is sent!

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


More information about the Koha-bugs mailing list