Fortify configuration
This commit is contained in:
parent
54a64395e1
commit
94c621656e
|
|
@ -29,6 +29,10 @@ class FortifyServiceProvider extends ServiceProvider
|
||||||
*/
|
*/
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
|
Fortify::loginView(function () {
|
||||||
|
return view('auth.login');
|
||||||
|
});
|
||||||
|
|
||||||
Fortify::createUsersUsing(CreateNewUser::class);
|
Fortify::createUsersUsing(CreateNewUser::class);
|
||||||
Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
|
Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
|
||||||
Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
|
Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
|
||||||
|
|
|
||||||
|
|
@ -144,16 +144,16 @@ return [
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'features' => [
|
'features' => [
|
||||||
Features::registration(),
|
// Features::registration(),
|
||||||
Features::resetPasswords(),
|
Features::resetPasswords(),
|
||||||
// Features::emailVerification(),
|
// Features::emailVerification(),
|
||||||
Features::updateProfileInformation(),
|
Features::updateProfileInformation(),
|
||||||
Features::updatePasswords(),
|
Features::updatePasswords(),
|
||||||
Features::twoFactorAuthentication([
|
// Features::twoFactorAuthentication([
|
||||||
'confirm' => true,
|
// 'confirm' => true,
|
||||||
'confirmPassword' => true,
|
// 'confirmPassword' => true,
|
||||||
// 'window' => 0,
|
// // 'window' => 0,
|
||||||
]),
|
// ]),
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue