mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-07 17:02:34 +00:00
Add two factor (#632)
This commit is contained in:
@ -34,6 +34,9 @@ public function boot(): void
|
||||
$this->app->bind('plugins', fn (): Plugins => new Plugins);
|
||||
|
||||
Sanctum::usePersonalAccessTokenModel(PersonalAccessToken::class);
|
||||
Fortify::twoFactorChallengeView(function () {
|
||||
return view('app');
|
||||
});
|
||||
|
||||
if (config('app.force_https')) {
|
||||
URL::forceHttps();
|
||||
|
Reference in New Issue
Block a user