Fix how the provider settings are passed to Satellizer

This commit is contained in:
Robert Picard 2016-01-05 17:26:09 -08:00
parent a0d50ef03a
commit a1395a5808
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
_.each(providers, function(provider) { _.each(providers, function(provider) {
if ($authProvider.hasOwnProperty(provider.name)) { if ($authProvider.hasOwnProperty(provider.name)) {
$authProvider[provider.name] = provider; $authProvider[provider.name](provider);
} else { } else {
$authProvider.oauth2(provider); $authProvider.oauth2(provider);
} }