|
|
@ -7,7 +7,8 @@ export interface IRegisterFormBody { |
|
|
|
token: string, |
|
|
|
name: string, |
|
|
|
email: string, |
|
|
|
password: string |
|
|
|
password: string, |
|
|
|
retypePassword: string |
|
|
|
} |
|
|
|
|
|
|
|
export class RegisterRequest extends Request |
|
|
@ -20,7 +21,8 @@ export class RegisterRequest extends Request |
|
|
|
token: constraints.register.token, |
|
|
|
name: constraints.register.name, |
|
|
|
email: constraints.register.email, |
|
|
|
password: constraints.register.password |
|
|
|
password: constraints.register.password, |
|
|
|
retypePassword: constraints.register.retypePassword |
|
|
|
},<any>{ fullMessages: false }); |
|
|
|
} |
|
|
|
} |