ing
This commit is contained in:
parent
7d70d61205
commit
f26e14bad3
|
@ -76,6 +76,10 @@ export class MemberModifyPasswordComponent implements OnInit {
|
|||
modifyPasswordFormSubmit() {
|
||||
const formValue = Object.assign({}, this.modifyPasswordForm.value);
|
||||
// this.modifyPassword.emit({token: this.token, password: formValue.pw, confirmPassword: formValue.confirmPw});
|
||||
|
||||
console.log(this.token);
|
||||
console.log(formValue.password);
|
||||
console.log(formValue.pwConfirm);
|
||||
this.memberService.resetPassword(this.token, formValue.password, formValue.pwConfirm)
|
||||
.pipe(
|
||||
tap(() => {
|
||||
|
|
|
@ -24,7 +24,8 @@ export class ConfirmResetPasswordPageComponent implements OnInit {
|
|||
}
|
||||
|
||||
onModifyPassword() {
|
||||
this.router.navigate(['auth/modify-password']);
|
||||
console.log(this.token);
|
||||
this.router.navigate(['auth/modify-password'], {queryParams: {token: this.token}});
|
||||
}
|
||||
|
||||
onSignin() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user