Ghost/core/server/models
Gabor Javorszky be7ed2dfdc Added validation for signup and login screens
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
2013-08-20 09:42:42 +01:00
..
base.js Current user added 2013-08-17 22:02:46 +01:00
index.js Data models import, export, and reset for 002 2013-08-05 13:56:30 +01:00
permission.js
post.js Trim title and don't allow negative pages 2013-08-19 21:18:39 -05:00
role.js
settings.js
user.js Added validation for signup and login screens 2013-08-20 09:42:42 +01:00