Comparar commits
2 Commits
| Autor | SHA1 | Data | |
|---|---|---|---|
| a78ef5f9d8 | |||
| ca943e3efc |
@@ -11,6 +11,7 @@ Toda a aplicação está contida em uma imagem Docker. Portanto, antes de inicia
|
||||
Para instalar o Atlas Digital InterativeGeo basta executa o arquivo <i>run.sh</i> contido neste projeto.
|
||||
|
||||
```
|
||||
$ chmod +x run.sh
|
||||
$ bash run.sh
|
||||
```
|
||||
|
||||
|
||||
+2
-2
@@ -62,7 +62,7 @@ include "includes/connect.php";
|
||||
function sucesso() {
|
||||
var txt;
|
||||
if (confirm("Usuário criado com sucesso! Fazer login?")) {
|
||||
window.location.href = "http://localhost/Atlas2021/web/login.php";
|
||||
window.location.href = "login.php";
|
||||
} else {
|
||||
|
||||
}
|
||||
@@ -196,4 +196,4 @@ if(isset($_POST['nome']))
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
+3
-5
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
include "includes/connect.php";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE>
|
||||
@@ -68,10 +70,6 @@ if(isset($_POST['email']))
|
||||
while ($resultado = pg_fetch_array($sql)) {
|
||||
$id = $resultado["id"];
|
||||
}
|
||||
//Controle de sessão
|
||||
session_start();
|
||||
$_SESSION["id"]=$id;
|
||||
|
||||
header('Location: processa.php?id='.$id.'');
|
||||
}else{
|
||||
|
||||
@@ -87,4 +85,4 @@ if(isset($_POST['email']))
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Referência em uma Nova Issue
Bloquear um usuário