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
Jenry Mazariegos -
Eduardo Guzmán -
gitter4coding -
Nikola Perišić -
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.