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