Skip to content

Commit 297e68c

Browse files
committed
Update CreateNewUser.php
1 parent e3c144c commit 297e68c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/Actions/Fortify/CreateNewUser.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace App\Actions\Fortify;
44

55
use App\Models\User;
6-
use Illuminate\Support\Facades\Hash;
76
use Illuminate\Support\Facades\Validator;
87
use Illuminate\Validation\Rule;
98
use Laravel\Fortify\Contracts\CreatesNewUsers;
@@ -34,7 +33,7 @@ public function create(array $input): User
3433
return User::create([
3534
'name' => $input['name'],
3635
'email' => $input['email'],
37-
'password' => Hash::make($input['password']),
36+
'password' => $input['password'],
3837
]);
3938
}
4039
}

0 commit comments

Comments
 (0)