Fix the recover password URL for WebGUI::Auth::WebGUI. Fixes bug #11932
This commit is contained in:
parent
8c8d1694df
commit
f884ab36b2
2 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
- refixed #11902: forums bug (works without mobile style being set)
|
||||
- fixed #11924: Deleting version tags leaves pending inbox messages in a permanent state
|
||||
- intalled YUI fix for flash files.
|
||||
- fixed #11932: Bad URL in the newly templated recover password email
|
||||
|
||||
7.10.3
|
||||
- fixed #11903: Unnecessary debug in Thingy
|
||||
|
|
|
|||
|
|
@ -1127,7 +1127,7 @@ sub emailRecoverPasswordFinish {
|
|||
|
||||
my $mail = WebGUI::Mail::Send->create($session, { to=>$email, subject=>$i18n->get('WebGUI password recovery')});
|
||||
my $vars = { };
|
||||
$vars->{recoverPasswordUrl} = $session->url->append($session->url->getSiteURL,'?op=auth;method=emailResetPassword;token='.$recoveryGuid);
|
||||
$vars->{recoverPasswordUrl} = $session->url->append($session->url->getSiteURL,'op=auth;method=emailResetPassword;token='.$recoveryGuid);
|
||||
my $template = WebGUI::Asset->newByDynamicClass($session, $session->setting->get('webguiPasswordRecoveryEmailTemplate'));
|
||||
my $emailText = $template->process($vars);
|
||||
WebGUI::Macro::process($session, \$emailText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue