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

Make login/signup protected #81

Closed
2 tasks
ryanchansf opened this issue Mar 6, 2024 · 0 comments · Fixed by #107
Closed
2 tasks

Make login/signup protected #81

ryanchansf opened this issue Mar 6, 2024 · 0 comments · Fixed by #107
Assignees
Labels

Comments

@ryanchansf
Copy link
Collaborator

Right now, when a user is signed in and authenticated, they're redirected to the home page. We want to make it so that logged-in users shouldn't be able to revisit the /login an /signup pages until they log out.

Requirements:

  • /login and /signup pages are both protected for logged-in users
  • Navigating to either page automatically redirects to the home / page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants