Fix how the provider settings are passed to Satellizer
This commit is contained in:
parent
a0d50ef03a
commit
a1395a5808
|
@ -50,7 +50,7 @@
|
|||
|
||||
_.each(providers, function(provider) {
|
||||
if ($authProvider.hasOwnProperty(provider.name)) {
|
||||
$authProvider[provider.name] = provider;
|
||||
$authProvider[provider.name](provider);
|
||||
} else {
|
||||
$authProvider.oauth2(provider);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue