-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
322b40c
commit 7b7719f
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,8 @@ | |
|
||
//Mail reset link | ||
$mailbody = "Dear user,\n\nIt appears that you have requested a password reset at TaskHub\n\nTo reset your password, please click the link below. If you cannot click it, please paste it into your web browser's address bar.\n\n" . $pwrurl . "\n\nThanks,\nThe Administration"; | ||
mail($userExists["username"], "TaskHub Password Reset", $mailbody); | ||
$headers = 'From: [email protected]' . "\r\n" . | ||
mail($userExists["username"], "TaskHub Password Reset", $mailbody, $headers); | ||
echo "Your password recovery key has been sent to your email address."; | ||
} | ||
else { | ||
|