diff --git a/src/Controller/LoginController.php b/src/Controller/LoginController.php index 4eaa2be..05d61fd 100644 --- a/src/Controller/LoginController.php +++ b/src/Controller/LoginController.php @@ -281,7 +281,7 @@ class LoginController $mail = new Mail(); $mail->addRecipient($email); $mail->setSubject($_ENV['APP_NAME'] . ' - Password reset'); - $mail->setBodyFromTemplate('password.reset', [ + $mail->setBodyFromTemplate('password-reset', [ 'EMAIL' => $email, 'RESET_LINK' => \Container::$request->getBase() . \Container::$routeCollection->getRoute('password.reset')->generateLink(['token' => $token]),