Skip to content

Commit

Permalink
Added XSRF token
Browse files Browse the repository at this point in the history
Fixes 403 Forbidden response on POST
  • Loading branch information
brockpetrie committed May 9, 2015
1 parent 5269f54 commit c499f71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/content.panel_config.php
Expand Up @@ -161,6 +161,8 @@ public function view() {

$container->appendChild($primary);

if (Symphony::isXSRFEnabled()) $container->prependChild(XSRF::formToken());

$this->_Result = $container;
}
}
Expand Down

0 comments on commit c499f71

Please sign in to comment.