mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
0d7033f662
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
3 lines
101 B
JavaScript
3 lines
101 B
JavaScript
import NewUserValidator from 'ghost/validators/new-user';
|
|
|
|
export default NewUserValidator.create();
|