Update Laravel socailite package
Update Laravel socailite package to fix facebook authentication.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Laravel\Socialite;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Laravel\Socialite\Contracts\Factory;
|
||||
|
||||
class SocialiteServiceProvider extends ServiceProvider
|
||||
{
|
||||
@@ -20,7 +21,7 @@ class SocialiteServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->app->singleton('Laravel\Socialite\Contracts\Factory', function ($app) {
|
||||
$this->app->singleton(Factory::class, function ($app) {
|
||||
return new SocialiteManager($app);
|
||||
});
|
||||
}
|
||||
@@ -32,6 +33,6 @@ class SocialiteServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function provides()
|
||||
{
|
||||
return ['Laravel\Socialite\Contracts\Factory'];
|
||||
return [Factory::class];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user