hasib32 / rest-api-with-lumen

Rest API boilerplate for Lumen micro-framework.
487 stars 143 forks source link

I have a question #33

Closed Breadem closed 7 years ago

Breadem commented 7 years ago

Hi, I met a question to developing update password function. But the user's password was set "hidden" in model file, how can I verified my input value is the hidden password's value? In the backend, can I acquired this hidden user's password ? Thanks

Breadem commented 7 years ago

I solved it. I just added method named getAuthPassword() to return user->password in User model. I have never used laravel before ,so I often met problems. I have to check docs . Thanks.