mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03: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
4 lines
101 B
JavaScript
4 lines
101 B
JavaScript
import NewUserValidator from 'ghost/validators/new-user';
|
|
|
|
export default NewUserValidator.create();
|