Skip to content

Commit 337df7f

Browse files
committed
no longer enable csrf protection
1 parent ff4df16 commit 337df7f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

resources/config/dist/framework.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@
2323
),
2424
);
2525

26-
if (Symfony\Component\HttpKernel\Kernel::VERSION_ID >= 20800) {
27-
$config['form'] = array(
28-
'csrf_protection' => true
29-
);
30-
} else {
31-
$config['csrf_protection'] = true;
32-
}
33-
3426
$container->loadFromExtension('framework', $config);
3527

3628
$container->loadFromExtension('twig', array(

0 commit comments

Comments
 (0)