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'));



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2yyMrya
via IFTTT

Aucun commentaire:

Enregistrer un commentaire