This commit is contained in:
PxlLoewe
2025-06-23 19:33:00 -07:00
parent 65ea4640c3
commit dabcad2525
13 changed files with 294 additions and 292 deletions

View File

@@ -18,9 +18,6 @@ export default async function RootLayout({
}>) {
const session = await getServerSession();
if (session?.user.isBanned)
return <Error title="Dein Account wurde gesperrt!" statusCode={403} />;
if (!session) redirect(`/login`);
return (