From 94c621656e6b182540996be93f93d03bd33ab500 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Sat, 13 Dec 2025 17:34:33 -0600 Subject: [PATCH] Fortify configuration --- app/Providers/FortifyServiceProvider.php | 4 ++++ config/fortify.php | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/Providers/FortifyServiceProvider.php b/app/Providers/FortifyServiceProvider.php index 004ced4..c878841 100644 --- a/app/Providers/FortifyServiceProvider.php +++ b/app/Providers/FortifyServiceProvider.php @@ -29,6 +29,10 @@ class FortifyServiceProvider extends ServiceProvider */ public function boot(): void { + Fortify::loginView(function () { + return view('auth.login'); + }); + Fortify::createUsersUsing(CreateNewUser::class); Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class); Fortify::updateUserPasswordsUsing(UpdateUserPassword::class); diff --git a/config/fortify.php b/config/fortify.php index cfe8272..3d4f558 100644 --- a/config/fortify.php +++ b/config/fortify.php @@ -144,16 +144,16 @@ return [ */ 'features' => [ - Features::registration(), + // Features::registration(), Features::resetPasswords(), // Features::emailVerification(), Features::updateProfileInformation(), Features::updatePasswords(), - Features::twoFactorAuthentication([ - 'confirm' => true, - 'confirmPassword' => true, - // 'window' => 0, - ]), +// Features::twoFactorAuthentication([ +// 'confirm' => true, +// 'confirmPassword' => true, +// // 'window' => 0, +// ]), ], ];