rpitv / glimpse

Monorepo for the RPI TV Glimpse project
MIT License
3 stars 1 forks source link

Logging out of the UI does not redirect the user to the home page #68

Open robere2 opened 3 months ago

robere2 commented 3 months ago

When a user clicks the "Logout" button on the top right of their screen, they should be redirected to the home page. Without this, if they were on a page they don't have access to, they'll receive a 404 or 403 screen.

I think the redirect should happen regardless of whether they'd still have access, both to provide user feedback and to avoid any potential issues with items visually remaining on screen which they no longer have permission to see.