merged branch ruimarinho/http_digest (PR #3778)

Commits
-------

fd1ea69 [Security] [HttpDigest] Fixes a configuration error caused by an invalid key child node configuration

Discussion
----------

[Security] [HttpDigest] Fixes a configuration error caused by an invalid "key" child node configuration

```
Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
```
This commit is contained in:
Fabien Potencier 2012-04-04 12:56:30 +02:00
commit eb6a26f572

View File

@ -62,7 +62,7 @@ class HttpDigestFactory implements SecurityFactoryInterface
->children()
->scalarNode('provider')->end()
->scalarNode('realm')->defaultValue('Secured Area')->end()
->scalarNode('key')->cannotBeEmpty()->end()
->scalarNode('key')->isRequired()->cannotBeEmpty()->end()
->end()
;
}