Skip to content

Commit

Permalink
fix: logout on enrol page
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidgil committed Jan 25, 2022
1 parent 31b0d61 commit 72adfe4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/shared/services/login/login.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ export class LoginService {
});
}

disconnect() {
disconnect(): void {
this.clearSession();
this.iamService.closeConnection().subscribe(() => {
location.reload();
});
Expand Down

0 comments on commit 72adfe4

Please sign in to comment.