Internationalize the subject of emails sent for password recovery.
This commit is contained in:
parent
0c62ee3666
commit
dda8b74734
3 changed files with 8 additions and 1 deletions
|
|
@ -39,6 +39,7 @@
|
||||||
- fixed: Can no longer buy badges from receipt or direct link page if quantity is empty
|
- fixed: Can no longer buy badges from receipt or direct link page if quantity is empty
|
||||||
- fixed: Tickets on add to badge screen now show the time at the event's timezone
|
- fixed: Tickets on add to badge screen now show the time at the event's timezone
|
||||||
- It was possible to run multiple singleton workflows at the same time.
|
- It was possible to run multiple singleton workflows at the same time.
|
||||||
|
- fixed: WebGUI Password Recovery email subject hard-coded
|
||||||
|
|
||||||
7.5.22
|
7.5.22
|
||||||
- fixed: Layout template now gets prepared correctly
|
- fixed: Layout template now gets prepared correctly
|
||||||
|
|
|
||||||
|
|
@ -980,7 +980,7 @@ sub emailRecoverPasswordFinish {
|
||||||
|
|
||||||
$self->saveParams($userId, 'WebGUI', $authsettings);
|
$self->saveParams($userId, 'WebGUI', $authsettings);
|
||||||
|
|
||||||
my $mail = WebGUI::Mail::Send->create($session, { to=>$email, subject=>'WebGUI password recovery'});
|
my $mail = WebGUI::Mail::Send->create($session, { to=>$email, subject=>$i18n->get('WebGUI password recovery')});
|
||||||
$mail->addText($i18n->get('recover password email text1', 'AuthWebGUI') . $url. ". \n\n".$i18n->get('recover password email text2', 'AuthWebGUI')." \n\n ".$url."?op=auth;method=emailResetPassword;token=$recoveryGuid"."\n\n ". $i18n->get('recover password email text3', 'AuthWebGUI'));
|
$mail->addText($i18n->get('recover password email text1', 'AuthWebGUI') . $url. ". \n\n".$i18n->get('recover password email text2', 'AuthWebGUI')." \n\n ".$url."?op=auth;method=emailResetPassword;token=$recoveryGuid"."\n\n ". $i18n->get('recover password email text3', 'AuthWebGUI'));
|
||||||
$mail->send;
|
$mail->send;
|
||||||
return "<h1>". $i18n->get('recover password banner', 'AuthWebGUI')." </h1> <br> <br> <h3>". $i18n->get('email recover password finish message1', 'AuthWebGUI'). $email . $i18n->get('email recover password finish message2', 'AuthWebGUI') . "</h3>";
|
return "<h1>". $i18n->get('recover password banner', 'AuthWebGUI')." </h1> <br> <br> <h3>". $i18n->get('email recover password finish message1', 'AuthWebGUI'). $email . $i18n->get('email recover password finish message2', 'AuthWebGUI') . "</h3>";
|
||||||
|
|
|
||||||
|
|
@ -4123,6 +4123,12 @@ LongTruncOk=1</p>
|
||||||
context => q{Title of the template created by the Site Setup screen},
|
context => q{Title of the template created by the Site Setup screen},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'WebGUI password recovery' => {
|
||||||
|
message => q{WebGUI password recovery},
|
||||||
|
lastUpdated => 0,
|
||||||
|
context => q{Title of the template created by the Site Setup screen},
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue