View | Details | Raw Unified | Return to bug 8753
Collapse All | Expand All

(-)a/installer/data/mysql/en/mandatory/sample_notices.sql (-1 / +3 lines)
Lines 143-146 Thank you. Link Here
143
Your library.'
143
Your library.'
144
);
144
);
145
145
146
INSERT INTO `letter` VALUES ('members','PASSWORD_RESET','','Online password reset',1,'Koha password recovery','<html>\r\n<p>This email has been sent in response to your password recovery request for the account <strong><< borrowers.userid>></strong>.\r\n</p>\r\n<p>\r\nYou can now create your new password using the following link:\r\n<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>\r\n</p>\r\n<p>This link will be valid for 2 days from this email\'s reception, then you must reapply if you do not change your password.</p>\r\n<p>Thank you.</p>\r\n</html>\r\n','email');
146
INSERT INTO `letter` (module, code, branchcode, name, is_html, title, content, message_transport_type) 
147
VALUES ('members','PASSWORD_RESET','','Online password reset',1,'Koha password recovery','<html>\r\n<p>This email has been sent in response to your password recovery request for the account <strong><< borrowers.userid>></strong>.\r\n</p>\r\n<p>\r\nYou can now create your new password using the following link:\r\n<br/><a href=\"<<passwordreseturl>>\"><<passwordreseturl>></a>\r\n</p>\r\n<p>This link will be valid for 2 days from this email\'s reception, then you must reapply if you do not change your password.</p>\r\n<p>Thank you.</p>\r\n</html>\r\n','email'
148
);
(-)a/opac/opac-password-recovery.pl (-3 / +2 lines)
Lines 10-21 use C4::Members qw(changepassword GetMember GetMemberDetails ); Link Here
10
use C4::Output;
10
use C4::Output;
11
use C4::Context;
11
use C4::Context;
12
use Koha::AuthUtils qw(hash_password);
12
use Koha::AuthUtils qw(hash_password);
13
14
my $query = new CGI;
13
my $query = new CGI;
14
use HTML::Entities;
15
15
16
my ( $template, $dummy, $cookie ) = get_template_and_user(
16
my ( $template, $dummy, $cookie ) = get_template_and_user(
17
    {
17
    {
18
        template_name   => "opac-password-recovery.tmpl",
18
        template_name   => "opac-password-recovery.tt",
19
        query           => $query,
19
        query           => $query,
20
        type            => "opac",
20
        type            => "opac",
21
        authnotrequired => 1,
21
        authnotrequired => 1,
22
- 

Return to bug 8753