FIX ошибка установки пакетов композер

This commit is contained in:
Toy Rik 2026-02-22 08:55:31 +03:00
parent daa4a197c8
commit d07e2ffbf4
2 changed files with 38 additions and 36 deletions

View File

@ -31,6 +31,7 @@ class FortifyServiceProvider extends ServiceProvider
*/
public function boot(): void
{
if (class_exists(Fortify::class)) {
Fortify::createUsersUsing(CreateNewUser::class);
Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
@ -77,3 +78,4 @@ class FortifyServiceProvider extends ServiceProvider
});
}
}
}

View File

@ -145,7 +145,7 @@ return [
|
*/
'features' => [
'features' => class_exists(Features::class) ? [
Features::registration(),
Features::resetPasswords(),
// Features::emailVerification(),
@ -156,6 +156,6 @@ return [
'confirmPassword' => true,
// 'window' => 0,
]),
],
] : [],
];