diff --git a/src/app/components/shared/header/header.component.ts b/src/app/components/shared/header/header.component.ts index 8005f9d13732c47750de4fce60f5d1496f14259e..4d9bf53be925441ef99ebcb3746440ddae2312b1 100644 --- a/src/app/components/shared/header/header.component.ts +++ b/src/app/components/shared/header/header.component.ts @@ -107,6 +107,7 @@ export class HeaderComponent implements OnInit { deleteAccount(id: string) { this.userService.delete(id).subscribe(); + this.authenticationService.logout(); this.translationService.get('header.account-deleted').subscribe(msg => { this.notificationService.show(msg); });