Skip to content

Commit

Permalink
🪟 🎉 log out when a user logs out in another tab (#21766)
Browse files Browse the repository at this point in the history
Co-authored-by: Joey Marshment-Howell <josephkmh@users.noreply.github.com>
  • Loading branch information
teallarson and josephkmh authored Jan 27, 2023
1 parent 1697b8e commit 2310503
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ export const AuthenticationProvider: React.FC<React.PropsWithChildren<unknown>>
authInited();
}
}
if (!currentUser) {
loggedOut();
}
});
});

Expand Down

0 comments on commit 2310503

Please sign in to comment.