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

page 401 added #12

Merged
merged 3 commits into from
Jul 7, 2024
Merged

page 401 added #12

merged 3 commits into from
Jul 7, 2024

Conversation

rakrisi
Copy link
Contributor

@rakrisi rakrisi commented Jul 7, 2024

this PR implements a 401 Unauthorized error page for the admin panel using Shadcn UI. When a user attempts to directly access a URL without the necessary permissions, they will be redirected to this page.

Changes Made:

Added a 401 Unauthorized error page template.
Updated routing logic to redirect unauthorized access to the 401 page.

src/pages/errors/unauthorised-error.tsx Outdated Show resolved Hide resolved
@satnaing satnaing merged commit bc8ccc8 into satnaing:main Jul 7, 2024
@satnaing
Copy link
Owner

satnaing commented Jul 7, 2024

Thanks for your PR.

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