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, +// ]), ], ];