forked from town-chen/auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forgot_password.php
38 lines (31 loc) · 1.39 KB
/
forgot_password.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
$page_title = "User Authentication System - Password Reset Page";
include_once 'partials/headers.php';
include_once 'partials/parsePasswordReset.php';
?>
<div class="container">
<section class="col col-lg-7">
<h2>Password Reset Form</h2><hr>
<?php if(isset($result)) echo $result; ?>
<?php if(!empty($form_errors)) echo show_errors($form_errors); ?>
<form method="post" action="">
<div class="form-group">
<label for="emailField">Email</label>
<input type="email" class="form-control" name="email" id="emailField" placeholder="Enter email">
</div>
<div class="form-group">
<label for="passwordField">New Password:</label>
<input type="password" class="form-control" name="new_password" id="passwordField" placeholder="New Password">
</div>
<div class="form-group">
<label for="cpasswordField">Confirm Password:</label>
<input type="password" class="form-control" name="confirm_password" id="cpasswordField" placeholder="Confirm Password">
</div>
<button type="submit" class="btn btn-primary pull-right" name="passwordResetBtn">Reset Password</button>
</form>
</section>
<p><a href="index.php">Back</a> </p>
</div>
<?php include_once 'partials/footers.php'; ?>
</body>
</html>