Skip to content

Commit

Permalink
feat: add Forbidden page for handling forbidden redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkrypto committed Feb 18, 2025
1 parent 2cb5d7a commit 5f1aed1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/(redirects)/forbidden/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Used only to force forbidden redirects
// TODO: remove this when we implement SSR authentication roles logic in the future

import { forbidden } from 'next/navigation'

export default function Forbidden() {
forbidden()
}

0 comments on commit 5f1aed1

Please sign in to comment.