refactoring

This commit is contained in:
simon.franken
2026-02-18 10:26:15 +01:00
parent 27ec450d3b
commit 6a6a3ba00b
18 changed files with 386 additions and 371 deletions

View File

@@ -40,8 +40,8 @@ export function validateConfig(): void {
}
if (config.session.secret.length < 32) {
console.warn(
"Warning: SESSION_SECRET should be at least 32 characters for security",
throw new Error(
"SESSION_SECRET must be at least 32 characters. Set a strong secret in your environment.",
);
}
}