Add maintenance and trip history components, admin session management, and session activity tracking

This commit is contained in:
2026-07-27 21:38:49 +02:00
parent 1218c13660
commit c63d1a641f
16 changed files with 822 additions and 176 deletions
-4
View File
@@ -45,10 +45,6 @@ export async function middleware(request: NextRequest) {
return NextResponse.redirect(new URL("/login", request.url));
}
if (validSession && pathname === "/login") {
return NextResponse.redirect(new URL("/", request.url));
}
return NextResponse.next();
}