add: simple validation and sanitizing

This commit is contained in:
Rasmus Krogh Udengaard
2026-03-05 15:04:12 +01:00
parent d046c66bc7
commit 9f8ae9a972
7 changed files with 160 additions and 14 deletions

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