illinois / queue

A microservice queue for holding open office hours
University of Illinois/NCSA Open Source License
82 stars 36 forks source link

Sync logouts between tabs #215

Closed james9909 closed 5 years ago

james9909 commented 5 years ago

Logging out in one tab will now redirect back to the login page for all other tabs.

Closes #205.

vercel[bot] commented 5 years ago

This pull request is automatically deployed with Now. To access deployments, click Details below or on the icon next to each push.

james9909 commented 5 years ago

Gonna fix the bug where the user still exists in the redux state, causing the header to render improperly.

james9909 commented 5 years ago

@nwalters512 thoughts on just redirecting to the logout route on all other tabs instead of adding an action for clearing the current user?

nwalters512 commented 5 years ago

@james9909 that sounds fine to me!