[Koha-bugs] [Bug 18570] Password recovery e-mail only sent after message queue is processed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 7 12:02:20 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18570
mark.gavillet at ptfs-europe.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|In Discussion |Needs Signoff
Assignee|koha-bugs at lists.koha-commun |mark.gavillet at ptfs-europe.c
|ity.org |om
CC| |mark.gavillet at ptfs-europe.c
| |om
--- Comment #8 from mark.gavillet at ptfs-europe.com ---
Created attachment 72499
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72499&action=edit
Patch for bug 18570
Adds a new subroutine to C4/Letters.pm which sends the password reset email to
the borrower through the message queue immediately.
To test, set the syspref "OpacResetPassword" to "allowed", create a patron with
an email address in their record, then click the "Forgotten password" link on
the login screen.
The new subroutine will match on borrowernumber and
letter_code='PASSWORD_RESET' in the message queue and process the single entry,
marking it as sent. If your mail server is not enabled, check the mail server
logs to see the attempted send (e.g. /var/log/exim4/mainlog)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list