Implemented forgot password

This commit is contained in:
frederikpyt 2020-08-04 13:21:56 +02:00
parent d818d15b85
commit 694bd35b33
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class UserController extends Controller
$user->update();
$subject = "SDE Skolehjem reset password";
$msg = "Din adgangskode er nu: " . $pswd;
$msg = "Hej " . $user->name_first . " ". $user->name_last . ".\n\nDin adgangskode er nu: " . $pswd;
mail($email, $subject, $msg);