passReset.php (521B)
1 <?php 2 include_once 'res/session.php'; 3 if(!empty($_GET)){ 4 $_SESSION['login-sid'] = $_GET['sid']; 5 } 6 ?> 7 <link rel="stylesheet" href="res/style.css"> 8 9 <form class= "pass-reset" action= "res/reset-pass.php" method= "POST"> 10 <h2> Reset password </h2> 11 <input type="text" name="email" placeholder="Email"> 12 <input type="text" name="newPass" placeholder="New Password"> 13 <input type="text" name="confirmPass" placeholder="Confirm Password"> 14 <button type="submit" name="reset">Reset Password</button> 15 </form>