Bläddra i källkod

[SecurityBundle] Adding the ignoreExtraFields option to the factories tree so that there aren't validation errors on all the other unknown fields.

Ryan Weaver 14 år sedan
förälder
incheckning
a334a576cf

+ 1 - 0
src/Symfony/Bundle/SecurityBundle/DependencyInjection/Configuration.php

@@ -23,6 +23,7 @@ class Configuration
 
         return $tb
             ->root('security', 'array')
+                ->ignoreExtraKeys()
                 ->fixXmlConfig('factory', 'factories')
                 ->arrayNode('factories')
                     ->prototype('scalar')->end()