Fixed reset password

This commit is contained in:
Joey Lai
2017-01-25 16:19:34 +01:00
parent ded314f4d6
commit 4c5ea08614
3 changed files with 30 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
include_once("../queries/checkInput.php");
include_once("../queries/emailconfirm.php");
include_once("../queries/requestpassword.php");
include_once("../queries/register.php");
?>
<body>
<?php
@@ -34,7 +35,7 @@
break;
case "reset":
try {
// validateEmail($_POST["forgotEmail"]);
resetEmail($_POST["forgotEmail"]);
sendPasswordRecovery($_POST["forgotEmail"]);
} catch (emailException $e){
$resetErr = $e->getMessage();