Commit 93259933 authored by Fabien Potencier's avatar Fabien Potencier

merged branch davedevelopment/duplicate-auth-providers (PR #673)

This PR was merged into the master branch.

Discussion
----------

Only register one of each authentication provider

Fixes #655

Commits
-------

657bf5f6 Only register one of each authentication provider
parents 80f0abd6 657bf5f6
......@@ -241,7 +241,7 @@ class SecurityServiceProvider implements ServiceProviderInterface
$app['security.authentication_providers'] = array_map(function ($provider) use ($app) {
return $app[$provider];
}, $providers);
}, array_unique($providers));
$map = new FirewallMap();
foreach ($configs as $name => $config) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment