be7ed2dfdc
Closes #374 * Included node-validator as a package * Implemented server side validation (the client side js is a mess, need a LOT of work) * Validates email address both on signup and login screens, gives error message on malformed email addresses * Requires at least 8 chars of password * Tells user if password is too short * Tells user if no such user on login * Tells user if wrong password on login * Tells user if server responds with a 404 (goes away, dies, etc) * Added middleware between req and login / signup for validation |
||
---|---|---|
.. | ||
base.js | ||
index.js | ||
permission.js | ||
post.js | ||
role.js | ||
settings.js | ||
user.js |