mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-07-03 13:29:18 +00:00
NORY-36: add error page for unauthorised users
This commit is contained in:
parent
9f497ce99d
commit
66775a001e
10 changed files with 54 additions and 35 deletions
11
dashboard/src/app/(outside)/unauthorised/page.tsx
Normal file
11
dashboard/src/app/(outside)/unauthorised/page.tsx
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { ErrorDisplay } from '@/components/error';
|
||||
|
||||
export default async function UnauthorizedPage() {
|
||||
return (
|
||||
<div className="bg-background min-h-screen p-16">
|
||||
<ErrorDisplay
|
||||
title="Unauthorised"
|
||||
message="You are unauthorised to access this application!"/>
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue