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

feat: Add redirect to login page #201

Merged
merged 2 commits into from
May 9, 2024
Merged

Conversation

JE1999
Copy link
Contributor

@JE1999 JE1999 commented May 9, 2024

In the useEffect hook, implement logic to check if the user session is active using the ory.toSession() function. If the session is active, redirect the user to the login page.

In the useEffect hook, implement logic to check if the user session is active using the ory.toSession() function. If the session is active, redirect the user to the login page.
@marluanespiritusanto marluanespiritusanto merged commit 49a4877 into master May 9, 2024
3 of 5 checks passed
@marluanespiritusanto marluanespiritusanto deleted the feat/login-redirect branch May 9, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants