Skip to content
Snippets Groups Projects
Commit 13df26e4 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Logout user by deletion

parent c911d355
1 merge request!380Resolve "Delete account"
Pipeline #30201 passed with stages
in 7 minutes and 40 seconds
......@@ -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);
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment