Explorar o código

Merge remote branch 'stof/security_fix'

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
38a851539f

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

@@ -190,11 +190,13 @@ class Configuration
                 ->end()
             ->end()
             ->arrayNode('anonymous')
+                ->canBeUnset()
                 ->children()
                     ->scalarNode('key')->defaultValue(uniqid())->end()
                 ->end()
             ->end()
             ->arrayNode('switch_user')
+                ->canBeUnset()
                 ->children()
                     ->scalarNode('provider')->end()
                     ->scalarNode('parameter')->defaultValue('_switch_user')->end()