fixing up the authenticator to allow identiy chaining
This commit is contained in:
@@ -20,6 +20,7 @@ class EloquentOAuthServiceProvider extends ServiceProvider {
|
||||
'facebook' => 'SocialNorm\Facebook\FacebookProvider',
|
||||
'github' => 'SocialNorm\GitHub\GitHubProvider',
|
||||
'google' => 'SocialNorm\Google\GoogleProvider',
|
||||
'stack' => 'SocialNorm\StackOverflow\StackOverflowProvider',
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -74,7 +75,7 @@ class EloquentOAuthServiceProvider extends ServiceProvider {
|
||||
});
|
||||
}
|
||||
|
||||
protected function registerProviders($socialnorm, $request)
|
||||
protected function registerProviders(SocialNorm $socialnorm, $request)
|
||||
{
|
||||
if (! $providerAliases = $this->app['config']['services.oauth_providers']) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user