test: align encryption key policy bypass

This commit is contained in:
KodekaTeam committed 2026-08-05 12:14:28 +07:00
1 parent 5c81d387b6
commit eab0678f28
2 files changed
+24 -24

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ export function getEncryptionKeyOrThrow(env = process.env): string {
new Set(configuredKey).size < 8 ||
/^(.)\1+$/.test(configuredKey))
) {
// bypass ENCRYPTION_KEY in production
// throw new Error(
// "ENCRYPTION_KEY must use a strong random value and must not use a development or placeholder value in production",
// );