mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
LostPasswordHandler: show lost password form on password sent
This commit is contained in:
parent
44057f1c49
commit
d898281925
@ -39,11 +39,14 @@ class LostPasswordHandlerExtension extends LostPasswordHandler
|
|||||||
);
|
);
|
||||||
|
|
||||||
$email = $this->getRequest()->getVar('email');
|
$email = $this->getRequest()->getVar('email');
|
||||||
$message = $email
|
/*$message = $email
|
||||||
? 'Thank you! A reset link has been sent to \''.$email.'\', provided an account exists for this email address.'
|
? 'Thank you! A reset link has been sent to \''.$email.'\', provided an account exists for this email address.'
|
||||||
: $message;
|
: $message;*/
|
||||||
|
|
||||||
$fragment = DBField::create_field('HTMLFragment', "<p>$message</p>");
|
$fragment = DBField::create_field(
|
||||||
|
'HTMLFragment',
|
||||||
|
'<p class="alert alert-success">'.$message.'</p>'
|
||||||
|
);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'Title' => _t(
|
'Title' => _t(
|
||||||
|
Loading…
Reference in New Issue
Block a user