-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset-code.html
More file actions
89 lines (70 loc) · 2.53 KB
/
reset-code.html
File metadata and controls
89 lines (70 loc) · 2.53 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!-- <?php require_once "controllerUserData.php"; ?>
<?php
$email = $_SESSION['email'];
if($email == false){
header('Location: Signin.php');
}
?> -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Code Verification | StudySkill</title>
<link rel="shortcut icon" href="img/favicon.ico">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link href="https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css" rel="stylesheet" />
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<!-- CSS -->
<link rel="stylesheet" href="css/signin-small.css" />
<!-- Boxicons CSS -->
<link href="https://unpkg.com/boxicons@2.1.2/css/boxicons.min.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<div class="logo">
<i class="bx bx-book icon"></i>
<div class="logo_name">StudySkill</div>
</div>
<h>Check your email and enter code</h>
<!-- <h>Let's dive in :)</h> -->
<form action="reset-code.php" method="POST" autocomplete="off">
<!-- <?php
if(isset($_SESSION['info'])){
?>
<div class="alert alert-success text-center" style="padding: 0.4rem 0.4rem">
<?php echo $_SESSION['info']; ?>
</div>
<?php
}
?>
<?php
if(count($errors) > 0){
?>
<div class="alert alert-danger text-center">
<?php
foreach($errors as $showerror){
echo $showerror;
}
?>
</div>
<?php
}
?>
<br> -->
<div class="field create-password">
<div class="input-field">
<input type="number" name="otp" placeholder="Enter code" class="password" required />
</div>
</div>
<div class="input-field button">
<input type="submit" name="check-reset-otp" value="Verify OTP" />
</div>
<!-- <div class="text">
<h3>Return? <a href="index.php">Home!</a></h3>
</div> -->
</form>
</div>
</body>
</html>