forked from Astha1404/charvi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
forgetpassword.php
25 lines (24 loc) · 975 Bytes
/
forgetpassword.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
<?php
if(!isset($_SESSION))
{
session_start();
}
if(isset($_SESSION['email']))
{
header('Location: /charvi/index.php');
}
?>
<section class="my-4">
<div class="container col-md-6 col-sm-12 col-12">
<h1 class="text-center">Forgot Password</h1>
<form action="login.php" method="post" class="bg-light d-flex flex-wrap justify-content-center p-4 p-md-0 p-sm-0 need-validation">
<div class="m-4 form-floating col-md-8 col-sm-12 col-11">
<input type="email" class="form-control" id="userName" name="userName" placeholder="User Name" required>
<label for="userName">User Name (Email)</label>
</div>
<div class="col-md-12 col-sm-12 col-12 mb-4 d-flex justify-content-center gap-4">
<button type="submit" name="getotp" value="getotp" class="btn btn-success px-4">Get OTP</button>
</div>
</form>
</div>
</section>