Skip to content

Commit

Permalink
[ADF-5462] - fixed logout redirect on other tabs (#7245)
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoAlbano authored Sep 13, 2021
1 parent 3f44e2e commit d2910ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/services/auth-guard.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class AuthGuard extends AuthGuardBase {
}

private ticketChangeRedirect(event: StorageEvent) {
if (!event.newValue) {
if (event.newValue) {
this.navigate(this.router.url);
} else {
window.location.reload();
Expand Down

0 comments on commit d2910ab

Please sign in to comment.