Skip to content

Commit

Permalink
fix: ensure logout in timeout always signs out
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Jan 5, 2024
1 parent daf7ba9 commit 3380075
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/api/services/authentication.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export class AuthenticationService {
if (this.userService.currentUser.authenticationToken) {
this.httpClient.delete(this.AUTH_URL).subscribe({
next: (response) => doSignOut(),
error: (error) => doSignOut()
});
} else {
doSignOut();
Expand Down

0 comments on commit 3380075

Please sign in to comment.