This commit is contained in:
jarek committed 2026-07-25 08:45:12 +02:00
1 parent 64b6dcd744
commit 123e04d17f
6 files changed
+318 -5

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import type { LayoutServerLoad } from './$types';
import { redirect } from '@sveltejs/kit';
import { isAuthEnabled, validateSession } from '$lib/server/auth';
import { hasAdminUser } from '$lib/server/db';
import { BACKUPS_ENABLED } from '$lib/server/features';
import { BACKUPS_ENABLED } from '$lib/server/features';
// Routes that don't require authentication
const PUBLIC_PATHS = ['/login'];