1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-27 11:22:17 -05:00

remove csrf check

This commit is contained in:
Nicolas Lœuillet 2013-09-18 09:25:28 +02:00
parent f6597c7cb9
commit 0d64be15de

View File

@ -49,11 +49,3 @@ if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timez
}
$poche = new Poche();
#XSRF protection with token
if (!empty($_POST)) {
if (!Session::isToken($_POST['token'])) {
die(_('Wrong token'));
}
unset($_SESSION['tokens']);
}