diff --git a/inc/functions.php b/inc/functions.php index 30e00393c..3ee238ddd 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; }