mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
remove csrf check
This commit is contained in:
parent
f6597c7cb9
commit
0d64be15de
1 changed files with 1 additions and 9 deletions
|
@ -48,12 +48,4 @@ if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timez
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
}
|
}
|
||||||
|
|
||||||
$poche = new Poche();
|
$poche = new Poche();
|
||||||
|
|
||||||
#XSRF protection with token
|
|
||||||
if (!empty($_POST)) {
|
|
||||||
if (!Session::isToken($_POST['token'])) {
|
|
||||||
die(_('Wrong token'));
|
|
||||||
}
|
|
||||||
unset($_SESSION['tokens']);
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue