Ghost/ghost/admin/validators/signup.js
Matt Enlow a22dca8722 Create new user validator to DRY up validators
No issue
- Created NewUserValidator class to DRY up validation of a models name, email, and password
- Changed SignUpValidator to be an instance of NewUserValidator
- Changed SetUpValidator to extend NewUserValidator
2014-07-25 13:20:40 -06:00

4 lines
101 B
JavaScript

import NewUserValidator from 'ghost/validators/new-user';
export default NewUserValidator.create();