Skip to content

Commit

Permalink
Remove unneeded unset() call.
Browse files Browse the repository at this point in the history
SecurityComponent doesn't deal with csrf token anymore.
  • Loading branch information
ADmad committed Nov 5, 2014
1 parent fc18336 commit 7e61df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/SecurityComponent.php
Expand Up @@ -289,7 +289,7 @@ protected function _validatePost(Controller $controller) {
if (strpos($token, ':')) {
list($token, $locked) = explode(':', $token, 2);
}
unset($check['_Token'], $check['_csrfToken']);
unset($check['_Token']);

$locked = explode('|', $locked);
$unlocked = explode('|', $unlocked);
Expand Down

0 comments on commit 7e61df8

Please sign in to comment.