app/lib/FFCMS/Controllers/User/ForgotPassword.php 1 location
|
@@ 109-114 (lines=6) @@
|
106 |
|
'AltBody' => \View::instance()->render('email/forgot_password.md','text/plain') |
107 |
|
]); |
108 |
|
|
109 |
|
if ($mail->send()) { |
110 |
|
$this->notify(_("A password reset email has been sent."), "success"); |
111 |
|
} else { |
112 |
|
$this->notify(_("There was a problem sending the email, please try again later."), "warning"); |
113 |
|
$this->notify($mail->ErrorInfo, "error"); |
114 |
|
} |
115 |
|
|
116 |
|
$f3->reroute('@index'); |
117 |
|
} |
app/lib/FFCMS/Controllers/User/User.php 1 location
|
@@ 485-490 (lines=6) @@
|
482 |
|
'AltBody' => \View::instance()->render('email/forgot_password.md', 'text/plain') |
483 |
|
]); |
484 |
|
|
485 |
|
if ($mail->send()) { |
486 |
|
$this->notify(_("A notification has been sent to confirm your email address."), "success"); |
487 |
|
} else { |
488 |
|
$this->notify(_("There was a problem sending you a registration email, please check your email and/or try again later."), "warning"); |
489 |
|
$this->notify($mail->ErrorInfo, "error"); |
490 |
|
} |
491 |
|
} |
492 |
|
|
493 |
|
|