summaryrefslogtreecommitdiff
path: root/Core/Functions/func_logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Functions/func_logout.php')
-rw-r--r--Core/Functions/func_logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Functions/func_logout.php b/Core/Functions/func_logout.php
index e1c28bf..35410ca 100644
--- a/Core/Functions/func_logout.php
+++ b/Core/Functions/func_logout.php
@@ -27,7 +27,7 @@ function logout() {
// Et on en redémarre une nouvelle.
session_start();
- $_SESSION["loggedIn"] = "0";
+ $_SESSION["loggedIn"] = false;
$_SESSION["lang"] = $lang;
// Enfin on redirige avec le bon message.