mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 06:26:16 +00:00
wip
This commit is contained in:
@ -18,6 +18,9 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
if ($this->app->runningInConsole()) {
|
||||
return;
|
||||
}
|
||||
Fortify::ignoreRoutes();
|
||||
}
|
||||
|
||||
@ -36,6 +39,8 @@ public function boot(): void
|
||||
return new FTP;
|
||||
});
|
||||
|
||||
Sanctum::usePersonalAccessTokenModel(PersonalAccessToken::class);
|
||||
if (! $this->app->runningInConsole()) {
|
||||
Sanctum::usePersonalAccessTokenModel(PersonalAccessToken::class);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user