-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecuperacaoSenha.php
62 lines (60 loc) · 2.25 KB
/
recuperacaoSenha.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
<?php
include("header.php");
?>
<html>
<head>
<title>Scarmed- Recuperação de senha</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="img/icon2.png">
<!-- CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="css/view/scarmed.css" />
<!-- JAVASCRIPT -->
<script src="js/sweetalert.min.js"></script>
<script src="js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<div class="card col-sm-12">
<div class="card-body">
<h4 class="light">Recuperação de Senha</h4>
<br>
<div class="row">
<div class="col col-md-6">
<form class="form-group" method="POST" action="web/controller/UsuarioController.php">
<div class="row">
Informe o código de recuperação enviado para o email
<br><br>
<div class="col-sm-8">
<input type="number" name="codigo" class="form-control input-sm"
placeholder="Código" required>
<input type="hidden" name="email" value="<?php echo $_GET['email'];?>" />
</div>
<div class="col-sm-4">
<input type="submit" value="Enviar código" name="btn-recupera-senha"
class="btn btn-success btn-block">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
<script>
let url = new URL(window.location.href);
let msg = url.searchParams.get('message');
if (msg != null) {
Swal.fire({
icon: 'error',
title: 'Opa...',
text: msg
});
}
</script>
</html>