commit 49806a81dc5929096b9abceb115faaf16bfc41e2 parent bbca47754b9c9aeb7c0d5704bb8bdfbc9067afcd Author: David Liotta <liottad6@students.rowan.edu> Date: Sun, 16 Dec 2018 20:08:28 -0500 Create passReset.php Diffstat:
A | website/passReset.php | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/website/passReset.php b/website/passReset.php @@ -0,0 +1,13 @@ +<?php +session_start(); +if(!empty($_GET)){ + $_SESSION['login-sid'] = $_GET['sid']; +} +?> +<h2> Reset password </h2> +<form class= "pass-reset" action= "res/reset-pass.php" method= "POST"> + <input type="text" name="email" placeholder="Email"> + <input type="text" name="newPass" placeholder="New Password"> + <input type="text" name="confirmPass" placeholder="Confirm Password"> + <button type="submit" name="reset">Reset Password</button> +</form>