Skip to content

Commit

Permalink
Update "Password Reset" link name value
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Dec 4, 2022
1 parent 3873bb0 commit 8ffd488
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ protected function email($sValue, $sParam, $sTable)
if (!$this->oValidate->email($sValue)) {
$this->sMsg = t('Invalid Email Address!');
} elseif ($sParam === 'guest' && $this->oExistsModel->email($sValue, $sTable)) {
$this->sMsg = t('Email already used by another user. Did you <a href="%0%">forget your password</a>?', Uri::get('lost-password', 'main', 'forgot', 'user'));
$this->sMsg = t('Email already used by another user. <a href="%0%">Password forgotten?</a>', Uri::get('lost-password', 'main', 'forgot', 'user'));
} elseif ($sParam === 'user' && !$this->oExistsModel->email($sValue, $sTable)) {
$this->sMsg = t('Oops! "%0%" is not associated with any %site_name% accounts.', substr($sValue, 0, 50));
} else {
Expand Down

0 comments on commit 8ffd488

Please sign in to comment.