Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
inmanturbo committed Feb 24, 2024
2 parents 175af54 + 09ce395 commit 640c4ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Commands/JetstreamPassportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion stubs/config/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'driver' => 'session',
'provider' => 'users',
],

'api' => [
'driver' => 'passport',
'provider' => 'users',
Expand Down

0 comments on commit 640c4ed

Please sign in to comment.