Improve wording of password reset
This commit is contained in:
parent
6c76b868a0
commit
697b801653
1 changed files with 2 additions and 2 deletions
|
@ -80,10 +80,10 @@ if (isset($_POST['email'], $_POST['password']) && !empty($_POST['planet'])) {
|
||||||
'Success'
|
'Success'
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$page->messages[] = Page::error(__('This link has expired.'), __('Failure'));
|
$page->messages[] = Page::error(__('This password reset link has expired, please request a new one.'), __('Failure'));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$page->messages[] = Page::error(__('This link seems invalid.'), __('Failure'));
|
$page->messages[] = Page::error(__('This password reset link seems to have been manipulated, please request a new one.'), __('Failure'));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue