Browse Source

[Form] Made the CSRF provider service public so that it can be used without forms

Bernhard Schussek 14 years ago
parent
commit
0239d62619
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Resources/config/form.xml

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/config/form.xml

@@ -35,7 +35,7 @@
         </service>
         
         <!-- CsrfProvider -->
-        <service id="form.csrf_provider" class="%form.csrf_provider.class%" public="false">
+        <service id="form.csrf_provider" class="%form.csrf_provider.class%">
         	<argument type="service" id="session" />
         	<argument>%form.csrf_protection.secret%</argument>
         </service>