Improved reset password function
This commit is contained in:
@@ -89,7 +89,11 @@ if (isset($_POST['resetkey']) && $_POST['resetkey'] !='' && $_POST['password_upd
|
|||||||
header("Refresh:2; url=index.php");
|
header("Refresh:2; url=index.php");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$username_err = 'You will be redirected';
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$username_err = 'Passwords do not match';
|
||||||
|
$reset_id_valid = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user