1
0
Fork 0
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:
Markus Thielker 2024-12-15 04:28:26 +01:00
parent 9f497ce99d
commit 66775a001e
No known key found for this signature in database
10 changed files with 54 additions and 35 deletions

View 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>
);
}