Explorar el Código

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

Bernhard Schussek hace 14 años
padre
commit
0239d62619
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>