|
|
@@ -93,10 +93,7 @@ export class NewPasswordComponent implements OnInit {
|
|
|
}
|
|
|
|
|
|
this.userService
|
|
|
- .activateUser({
|
|
|
- email: this.f.email.value,
|
|
|
- first_name: this.f.first_name.value,
|
|
|
- last_name: this.f.last_name.value,
|
|
|
+ .changePassword({
|
|
|
password: this.f.password.value,
|
|
|
confirm_password: this.f.confirm_password.value,
|
|
|
/*phone_number: this.f.phone_number.value,
|
|
|
@@ -107,7 +104,7 @@ export class NewPasswordComponent implements OnInit {
|
|
|
(res) => {
|
|
|
this.successActivation = true;
|
|
|
this.validToken = false;
|
|
|
- this.activateMessage = "Usuario registrado con exito";
|
|
|
+ this.activateMessage = "Su clave ha sido actualizada exitosamente";
|
|
|
},
|
|
|
(err) => {
|
|
|
this.validToken = false;
|