diff --git a/inc/functions.php b/inc/functions.php index 30e0039..3ee238d 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -243,7 +243,9 @@ function verif_token($token) { return TRUE; } - else return FALSE; + else { + session_destroy(); + } } else return FALSE; }