add: simple validation and sanitizing

This commit is contained in:
Rasmus Krogh Udengaard
2026-03-05 15:04:12 +01:00
parent 17d6d243ef
commit 740729354c
7 changed files with 160 additions and 14 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ const authConfig: SvelteKitAuthConfig = {
}
},
secret: env.AUTH_SECRET,
trustHost: true
trustHost: env.AUTH_TRUST_HOST === 'true'
};
export const { handle, signIn, signOut } = SvelteKitAuth(authConfig);