aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-15 15:23:20 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-15 15:23:20 +0200
commit643e3037e6e63befb2cec20f7986f14480d4ae4b (patch)
tree47fcb27f40457b91247cf2da3f9c115d6a8c6881
parent023579d1d8ef0a920b25ce57a13ce8e08e535efe (diff)
downloadwallabag-643e3037e6e63befb2cec20f7986f14480d4ae4b.tar.gz
wallabag-643e3037e6e63befb2cec20f7986f14480d4ae4b.tar.zst
wallabag-643e3037e6e63befb2cec20f7986f14480d4ae4b.zip
gestion de la fin de session #41
-rwxr-xr-xinc/functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 30e00393..3ee238dd 100755
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -243,7 +243,9 @@ function verif_token($token)
243 { 243 {
244 return TRUE; 244 return TRUE;
245 } 245 }
246 else return FALSE; 246 else {
247 session_destroy();
248 }
247 } 249 }
248 else return FALSE; 250 else return FALSE;
249 } 251 }