Skip to content

Commit

Permalink
Show same message in all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Jan 3, 2022
1 parent 96ad95a commit fbed872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -1,2 +1,2 @@
<h1><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('user/forgotpasswordsent','Password reminder');?></h1>
<p><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('user/forgotpasswordsent','E-mail sent. Click the link in the email and You will be able to set a new password.')?></p>
<p><?php echo erTranslationClassLhTranslation::getInstance()->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.')?></p>
4 changes: 2 additions & 2 deletions lhc_web/modules/lhuser/forgotpassword.php
Expand Up @@ -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);
}
Expand Down

0 comments on commit fbed872

Please sign in to comment.