Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove csrfToken from secured fields.

It is validated separately and causes validation errors right now.
  • Loading branch information...
commit 360fe3896ffeb374767668ba97811ad211c7736b 1 parent 4a3cbb1
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Controller/Component/SecurityComponent.php
View
2  src/Controller/Component/SecurityComponent.php
@@ -305,7 +305,7 @@ protected function _validatePost(Controller $controller) {
if (strpos($token, ':')) {
list($token, $locked) = explode(':', $token, 2);
}
- unset($check['_Token']);
+ unset($check['_Token'], $check['_csrfToken']);
$locked = explode('|', $locked);
$unlocked = explode('|', $unlocked);
Please sign in to comment.
Something went wrong with that request. Please try again.