Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Back button after logging out takes you back to the user's dashboard #129

Open
galee2 opened this issue Dec 15, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@galee2
Copy link
Contributor

galee2 commented Dec 15, 2021

Steps To Reproduce

  1. Log out from Dashboard page
  2. Press browser back butotn

The current behavior

Instead of showing the screens that apps usually show "You are trying to access a page that has expired" or whatever, it takes me back to the logged in dashboard page. When I reload, it shows the dashboard as a user that isn't logged in.

The expected behavior

Should not be able to access a previously logged in user's data or access the dashboard as a user not logged in through Google Auth.

@galee2 galee2 added the bug Something isn't working label Dec 15, 2021
@jameszhang-a jameszhang-a moved this to Todo in MadFlow Dec 16, 2021
@jameszhang-a jameszhang-a moved this from Todo to Backlog in MadFlow Dec 16, 2021
@jameszhang-a
Copy link
Contributor

Maybe inside the dashboard page, check if there's a user logged in. If not, either show an error page, or redirect back to landing page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants