diff --git a/composer.json b/composer.json index e291ec1..654ad83 100644 --- a/composer.json +++ b/composer.json @@ -62,8 +62,7 @@ "extra": { "laravel": { "providers": [ - "Fintech\\Auth\\AuthServiceProvider", - "Fintech\\Auth\\EventServiceProvider" + "Fintech\\Auth\\AuthServiceProvider" ], "aliases": { "Auth": "Fintech\\Auth\\Facades\\Auth" diff --git a/src/AuthServiceProvider.php b/src/AuthServiceProvider.php index ecfbbe3..45640ab 100644 --- a/src/AuthServiceProvider.php +++ b/src/AuthServiceProvider.php @@ -25,8 +25,9 @@ public function register() 'fintech.auth' ); - $this->app->register(RouteServiceProvider::class); - $this->app->register(RepositoryServiceProvider::class); + $this->app->register(\Fintech\Auth\Providers\EventServiceProvider::class); + $this->app->register(\Fintech\Auth\Providers\RouteServiceProvider::class); + $this->app->register(\Fintech\Auth\Providers\RepositoryServiceProvider::class); } /** diff --git a/src/Providers/EventServiceProvider.php b/src/Providers/EventServiceProvider.php index f7b9b24..8d2b44f 100644 --- a/src/Providers/EventServiceProvider.php +++ b/src/Providers/EventServiceProvider.php @@ -1,6 +1,6 @@