FIX ошибка установки пакетов композер
This commit is contained in:
parent
daa4a197c8
commit
d07e2ffbf4
@ -31,6 +31,7 @@ class FortifyServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
|
if (class_exists(Fortify::class)) {
|
||||||
Fortify::createUsersUsing(CreateNewUser::class);
|
Fortify::createUsersUsing(CreateNewUser::class);
|
||||||
Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
|
Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
|
||||||
Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
|
Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
|
||||||
@ -77,3 +78,4 @@ class FortifyServiceProvider extends ServiceProvider
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -145,7 +145,7 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'features' => [
|
'features' => class_exists(Features::class) ? [
|
||||||
Features::registration(),
|
Features::registration(),
|
||||||
Features::resetPasswords(),
|
Features::resetPasswords(),
|
||||||
// Features::emailVerification(),
|
// Features::emailVerification(),
|
||||||
@ -156,6 +156,6 @@ return [
|
|||||||
'confirmPassword' => true,
|
'confirmPassword' => true,
|
||||||
// 'window' => 0,
|
// 'window' => 0,
|
||||||
]),
|
]),
|
||||||
],
|
] : [],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user