kasvith / express-mongo-jwt-boilerplate

Express Mongo JsonWebToken boilerplate
103 stars 43 forks source link

Reset password feature and update user endpoint #27

Open d0peCode opened 5 years ago

d0peCode commented 5 years ago

This PR contains following:

*With security in mind I don't allow to update every field. I've created validation with Joi which allow only password and name change. However it can be easily configure by other developer to his own need.