madhums / node-express-mongoose-demo

A simple demo app using node and mongodb for beginners (with docker)
https://nodejs-express-demo.fly.dev
MIT License
5.12k stars 1.38k forks source link

fix of a small defect #135

Closed shuding closed 9 years ago

shuding commented 9 years ago

I found out that an intentionally constructed illegal POST request will pass the sign up validation, cause there's no check of length of password:

name:quietshu
email:quietshu@gmail.com
username:quietshu
hashed_password:123