Ghost/core/server/controllers
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
..
admin.js Added validation for signup and login screens 2013-08-20 09:42:42 +01:00
frontend.js Trim title and don't allow negative pages 2013-08-19 21:18:39 -05:00