diff --git a/lhc_web/design/defaulttheme/tpl/lhuser/forgotpasswordsent.tpl.php b/lhc_web/design/defaulttheme/tpl/lhuser/forgotpasswordsent.tpl.php index abf505a04b..08edc0849f 100644 --- a/lhc_web/design/defaulttheme/tpl/lhuser/forgotpasswordsent.tpl.php +++ b/lhc_web/design/defaulttheme/tpl/lhuser/forgotpasswordsent.tpl.php @@ -1,2 +1,2 @@

getTranslation('user/forgotpasswordsent','Password reminder');?>

-

getTranslation('user/forgotpasswordsent','E-mail sent. Click the link in the email and You will be able to set a new password.')?>

+

getTranslation('user/forgotpasswordsent','If this e-mail exists we have send password remind link. Click the link in the email and You will be able to set a new password.')?>

diff --git a/lhc_web/modules/lhuser/forgotpassword.php b/lhc_web/modules/lhuser/forgotpassword.php index 093e5f5b02..c487cb3a70 100644 --- a/lhc_web/modules/lhuser/forgotpassword.php +++ b/lhc_web/modules/lhuser/forgotpassword.php @@ -94,9 +94,9 @@ $tpl = erLhcoreClassTemplate::getInstance( 'lhuser/forgotpasswordsent.tpl.php'); } else { - erLhcoreClassModule::redirect('user/forgotpassword'); - exit; + $tpl = erLhcoreClassTemplate::getInstance( 'lhuser/forgotpasswordsent.tpl.php'); } + } else { $tpl->set('errors',$Errors); }