return User::create([
'password' => bcrypt($data['password']),
]);
For further actions, you may consider blocking this person and/or reporting abuse
return User::create([
'password' => bcrypt($data['password']),
]);
For further actions, you may consider blocking this person and/or reporting abuse
Kachkol Asa -
Fabrice -
Goodnews Azonubi -
Er Amit Gupta -
Top comments (2)
The proper way of hashing a password in laravel would be using the Hash facade:
'password' => Hash::make($data['password'])
Official Documentation: laravel.com/docs/10.x/hashing#hash...
Thankyou bro for your insight, this may be can help me to.