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

fix(ui): redirecting unauthenticated users to login page #463

Merged
merged 5 commits into from
Apr 29, 2024

Conversation

cephaschapa
Copy link
Collaborator

Changes

  • Enables checks in the useSession() hook to redirect unauthenticated users to login for both the root page and dashboard

@cephaschapa cephaschapa added the bug Something isn't working label Apr 26, 2024
@cephaschapa cephaschapa self-assigned this Apr 26, 2024
app/src/app/[lng]/[inventory]/page.tsx Outdated Show resolved Hide resolved
app/src/app/[lng]/[inventory]/page.tsx Outdated Show resolved Hide resolved
@cephaschapa cephaschapa merged commit 9731dd9 into develop Apr 29, 2024
3 checks passed
@cephaschapa cephaschapa deleted the fix/logout-redirect branch April 29, 2024 07:38
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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants