]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/config.inc.php
remove csrf check
[github/wallabag/wallabag.git] / inc / poche / config.inc.php
index 9247c292eb8db94b31927098887727f7750398c6..aaa26af896958c4fbe9ce2c91330ee9c02045140 100755 (executable)
@@ -48,12 +48,4 @@ if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timez
     date_default_timezone_set('UTC');
 }
 
-$poche = new Poche();
-
-#XSRF protection with token
-if (!empty($_POST)) {
-    if (!Session::isToken($_POST['token'])) {
-        die(_('Wrong token'));
-    }
-    unset($_SESSION['tokens']);
-}
\ No newline at end of file
+$poche = new Poche();
\ No newline at end of file