Fortify configuration
This commit is contained in:
parent
54a64395e1
commit
94c621656e
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
// ]),
|
||||
],
|
||||
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue