diff --git a/README.md b/README.md index e333236..f24dff4 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ Installation Installation using composer: ```sh -composer require designmynight/laravel-mongodb-passport +composer require sysvale/laravel-mongodb-passport ``` -You need to have your `App\User` class extend `DesignMyNight\Mongodb\Auth\User.php` instead of the default `Illuminate\Foundation\Auth\User`. This user class extends larvel-mongodb eloquent user as well as adding all the standard and required authentication and laravel passport traits. +You need to have your `App\User` class extend `Sysvale\Mongodb\Auth\User.php` instead of the default `Illuminate\Foundation\Auth\User`. This user class extends larvel-mongodb eloquent user as well as adding all the standard and required authentication and laravel passport traits. ```php register(DesignMyNight\Mongodb\MongodbPassportServiceProvider::class); +$app->register(Sysvale\Mongodb\MongodbPassportServiceProvider::class); ``` The service provider will overide the default laravel passport models in order to use mongodb's implementation of eloquent. There is no need to register any additional classes or add any additional configuration other than those outlined in [Laravel Passport](https://github.com/laravel/passport) and [MongoDB](https://github.com/jenssegers/laravel-mongodb). diff --git a/src/Auth/User.php b/src/Auth/User.php index 5970e0a..cda5168 100644 --- a/src/Auth/User.php +++ b/src/Auth/User.php @@ -1,6 +1,6 @@