mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
a22dca8722
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();
|