From d6d1c182802c2db1b2451f1796cc87ab6f5dbd5e Mon Sep 17 00:00:00 2001 From: Eric Newport Date: Sun, 12 Jan 2025 12:17:30 -0500 Subject: [PATCH] fix missing type --- lib/scripts/configAuditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/configAuditor.js b/lib/scripts/configAuditor.js index bf94e33ce..d17dc2150 100644 --- a/lib/scripts/configAuditor.js +++ b/lib/scripts/configAuditor.js @@ -253,7 +253,7 @@ async function configAudit (appDir) { checkTypes(userParam, key, ['object']) break case 'csrfProtection': - checkTypes(userParam, key, ['boolean']) + checkTypes(userParam, key, ['boolean', 'object']) break case 'expressSessionStore': checkTypes(userParam, key, ['object'])