diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 769cc4b6d..97ab82246 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -39,6 +39,7 @@ - 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 - It was possible to run multiple singleton workflows at the same time. + - fixed: WebGUI Password Recovery email subject hard-coded 7.5.22 - fixed: Layout template now gets prepared correctly diff --git a/lib/WebGUI/Auth/WebGUI.pm b/lib/WebGUI/Auth/WebGUI.pm index 6352d55b0..7c940e2fd 100644 --- a/lib/WebGUI/Auth/WebGUI.pm +++ b/lib/WebGUI/Auth/WebGUI.pm @@ -980,7 +980,7 @@ sub emailRecoverPasswordFinish { $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->send; return "

". $i18n->get('recover password banner', 'AuthWebGUI')."



". $i18n->get('email recover password finish message1', 'AuthWebGUI'). $email . $i18n->get('email recover password finish message2', 'AuthWebGUI') . "

"; diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index 8f3278881..ae13603ed 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -4123,6 +4123,12 @@ LongTruncOk=1

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;