diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
= htmlspecialchars($e) ?>
- - - + + += htmlspecialchars($e) ?>
+ + + \ No newline at end of file diff --git a/include/authenticator.php b/include/authenticator.php deleted file mode 100644 index b398e83..0000000 --- a/include/authenticator.php +++ /dev/null @@ -1,31 +0,0 @@ -prepare('SELECT * FROM utilisateur WHERE login = ?'); -$stmt->execute([$login]); -$user = $stmt->fetch(); - - -if ($user && password_verify($password, $user['password'])) { -$_SESSION['user'] = $user['login']; -return true; -} -return false; -} - - -function requireLogin() { -if (!isLogged()) { -header('Location: login.php'); -exit; -} -} \ No newline at end of file