Browse Source

Remove the retyped password requirement from registration request

dev
David Ludwig 4 years ago
parent
commit
c7c499c2a8
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      services/request/src/services/WebServer/requests/RegisterRequest.ts

+ 2
- 4
services/request/src/services/WebServer/requests/RegisterRequest.ts View File

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

Loading…
Cancel
Save