-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathforgot_password.php
67 lines (63 loc) · 2.47 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
session_start();
include "templates/header.php";
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Madimgz - Forgot Password</title>
<style>
.center {
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body class="purp_body">
<section class="hero is-fullheight">
<div class="hero-body">
<div class="container has-text-centered">
<div class="section">
<h1 class="title">Forgot Password?</h1>
<h2 class="subtitle">Not to worry, we can help with that!</h2>
<p>Just fill in the email you registered with in the box below and submit it. Then check your email inbox for an email from us with your new password. You can then use this password to login and change it to a different password from your account settings</p>
</div>
<section class="section">
<div class="container has-text-centered">
<div class="columns is-centered">
<div class="column is-5 is-4-desktop">
<form method="post" action="forms/emailpasswordreset.php">
<div class="field">
<div class="control">
<!-- Remove the value="" -->
<input class="input" type="text" name="username" placeholder="Username" value="">
</div>
<br>
<div class="control">
<!-- Remove the value="" -->
<input class="input" type="text" name="email" placeholder="Email" value="">
</div>
</div>
<div class="field">
<button class="button is-primary is-fullwidth" type="Submit">Reset Password!</button>
</div>
<?php
echo $_SESSION['emailpasswordreset_success'];
$_SESSION['emailpasswordreset_success'] = NULL;
?>
</form>
</div>
</div>
</div>
</section>
</div>
</div>
</section>
<?php
include "templates/footer.php";
?>
</body>
</html>