Commit d9089973 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(core) Remove useless line in CSRFProtection

issue #5840
Showing with 0 additions and 1 deletion
+0 -1
......@@ -31,7 +31,6 @@ class CSRFProtection
static::checkHeaders();
$validToken = static::getToken();
if ($_POST['CSRFtoken'] !== static::getToken()) {
throw new Exception('CSRF protection token invalid');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment