dimanche 27 mars 2016

Can update a users password in localhost but not on shared hosting server

This is the function to update user password

function update_systemusers_password($input)   {   
     $systemusers = users::find($input['userid']);   
     $systemusers->password = bcrypt($input['password']);  
     $systemusers->save();   
}

however it doesn't update in shared hosting server



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire