From 2fc20764ed45259b62acb40478c7807f5dfa7f31 Mon Sep 17 00:00:00 2001 From: Taha Farooq Date: Mon, 8 Apr 2019 13:02:03 +0500 Subject: [PATCH] fix: Fix Password Validation Error on Signup --- src/app/components/auth/signup/signup.component.html | 2 +- src/app/components/auth/signup/signup.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/auth/signup/signup.component.html b/src/app/components/auth/signup/signup.component.html index 047d6f76b..d7eae8370 100644 --- a/src/app/components/auth/signup/signup.component.html +++ b/src/app/components/auth/signup/signup.component.html @@ -1,7 +1,7 @@
- +
SIGN UP diff --git a/src/app/components/auth/signup/signup.component.ts b/src/app/components/auth/signup/signup.component.ts index ca47d611f..d3092c6f7 100644 --- a/src/app/components/auth/signup/signup.component.ts +++ b/src/app/components/auth/signup/signup.component.ts @@ -82,7 +82,7 @@ export class SignupComponent implements OnInit, AfterViewInit { const SIGNUP_BODY = JSON.stringify({ username: self.globalService.formValueForLabel(self.ALL_FORMS[self.signupForm], 'username'), email: self.globalService.formValueForLabel(self.ALL_FORMS[self.signupForm], 'email'), - password1: self.globalService.formValueForLabel(self.ALL_FORMS[self.signupForm], 'password'), + password1: self.globalService.formValueForLabel(self.ALL_FORMS[self.signupForm], 'password1'), password2: self.globalService.formValueForLabel(self.ALL_FORMS[self.signupForm], 'confirm password') }); self.apiService.postUrl(self.endpointsService.signupURL(), SIGNUP_BODY).subscribe(