Skip to content

Commit 4fd4b46

Browse files
committed
Fix missing import of PasswordValidationRules
1 parent 49f547b commit 4fd4b46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/InstallCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ protected function installForitfyBaseFiles()
225225
$this->replaceAllInFile([
226226
'namespace App\Actions\Fortify' => 'namespace Domain\User\Actions',
227227
'class ResetUserPassword' => 'class ResetUserPasswordAction',
228+
'use Laravel\Fortify\Contracts\ResetsUserPasswords;' => 'use Laravel\Fortify\Contracts\ResetsUserPasswords;
229+
use Domain\User\Rules\PasswordValidationRules;'
228230
], base_path('src/Domain/User/Actions/ResetUserPasswordAction.php'));
229231

230232
(new Filesystem)->move(base_path('app/Actions/Fortify/UpdateUserPassword.php'), base_path('src/Domain/User/Actions/UpdateUserPasswordAction.php'));

0 commit comments

Comments
 (0)