Toran Proxy how to!
Apply the snippet :
, array(
'csrf_protection' => false,
)
to those files, like this:
./toran/src/Toran/ProxyBundle/Controller/HomeController.php (197):
$data['packagist_sync'] = (bool) $data['packagist_sync'];
$form = $this->createFormBuilder($data, array(
'csrf_protection' => false
))
./toran/src/Toran/ProxyBundle/Controller/PackagistController.php (37):
{
$data = array('packages' => '');
$form = $this->createFormBuilder($data, array(
'csrf_protection' => false,
))
./toran/src/Toran/ProxyBundle/Controller/RepoController.php (182):
);
$form = $this->createFormBuilder($data, array(
'csrf_protection' => false,
))
Thanks! I turned it off (false) in the config & it solved the issue
csrf error
.