dimanche 24 septembre 2017

how to hash a password laravel 5.2 model create

I'm creating admin user via model and it saving record successfully but password is not being hashed as follows:

$request->password = bcrypt($request->input('password'));
    Admin::create($request->except('_token'));



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire