forked from One-Piece-Online/OPOnline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResetPassword.php
More file actions
33 lines (30 loc) · 851 Bytes
/
ResetPassword.php
File metadata and controls
33 lines (30 loc) · 851 Bytes
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
<?php
require 'MenuBar.php';
?>
<main>
<div>
<section class="signup-form">
<br>
<h1>Reset your password.</h1>
<h3>An e-mail will be send to you with instructions on how to reset your password.</h3>
<form class="form-resetpwd" action="includes/reset-request.inc.php" method="post">
<p>
<label for="email">Enter your email address...
<input type="text" name="email" placeholder="name@example.com">
</label>
</p>
<button type="submit" name="reset-request-submit">Receive new password by mail</button>
</form>
<?php
if (isset($_GET["reset"])) {
if ($_GET["reset"] == "success") {
echo '<p class="signupsuccess">Check your e-mail!</p>';
}
}
?>
</section>
</div>
</main>
<?php
require 'Disclaimer.php';
?>