diff --git a/src/Commands/JetstreamPassportCommand.php b/src/Commands/JetstreamPassportCommand.php index 6fae32e..02e9562 100644 --- a/src/Commands/JetstreamPassportCommand.php +++ b/src/Commands/JetstreamPassportCommand.php @@ -18,7 +18,7 @@ public function handle() $this->call('passport:install', ['--uuids']); $this->call('passport:client', ['--personal' => true, '--name' => 'Laravel Personal Access Client']); - $this->replaceInFile('Laravel\\Sanctum\\HasApiTokens' , 'Laravel\\Passport\\HasApiTokens', app_path('Models/User.php')); + $this->replaceInFile('Laravel\\Sanctum\\HasApiTokens', 'Laravel\\Passport\\HasApiTokens', app_path('Models/User.php')); $this->copyFiles(); } diff --git a/stubs/config/auth.php b/stubs/config/auth.php index 6681874..b2d5fec 100644 --- a/stubs/config/auth.php +++ b/stubs/config/auth.php @@ -40,7 +40,7 @@ 'driver' => 'session', 'provider' => 'users', ], - + 'api' => [ 'driver' => 'passport', 'provider' => 'users',