Improve wording of password reset

This commit is contained in:
grandeljay 2022-06-17 07:46:58 +02:00
parent 6c76b868a0
commit 697b801653

View file

@ -80,10 +80,10 @@ if (isset($_POST['email'], $_POST['password']) && !empty($_POST['planet'])) {
'Success'
);
} 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 {
$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 {
/**