helpers refactoring

This commit is contained in:
Peter Papp
2021-03-31 08:27:28 +02:00
parent 6ac6528243
commit a8fa3694be
30 changed files with 85 additions and 211 deletions

View File

@@ -2,7 +2,6 @@
namespace App\Actions\Fortify;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Laravel\Fortify\Contracts\ResetsUserPasswords;
@@ -24,7 +23,7 @@ class ResetUserPassword implements ResetsUserPasswords
])->validate();
$user->forceFill([
'password' => Hash::make($input['password']),
'password' => bcrypt($input['password']),
])->save();
}
}