Update about the showing the user images

This commit is contained in:
Sébastien André
2021-03-26 15:05:06 +01:00
parent 9d51f38f2e
commit fe255041cc
12 changed files with 70 additions and 71 deletions

View File

@@ -70,17 +70,16 @@ export class CreateUserComponent implements OnInit {
createUser.lastName = this.formCtrls.lastname.value;
createUser.email = this.formCtrls.email.value;
this.authenticationService
.create(createUser)
.pipe(first())
.subscribe(
data => {
this.router.navigate([this.returnUrl]);
},
error => {
this.error = error;
this.invalidForm = false;
}
);
this.authenticationService.create(createUser)
.pipe(first())
.subscribe(
data => {
this.router.navigate([this.returnUrl]);
},
error => {
this.error = error;
this.invalidForm = false;
}
);
}
}