From 02907e8953f6b6fc1e41d18d43339fa89d9d15cb Mon Sep 17 00:00:00 2001 From: Wingy Date: Tue, 18 Oct 2022 16:22:07 -0400 Subject: [PATCH] if GUEST_PASSWORD is set, LISTS_PUBLIC will be set to false (#48) --- config/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/index.js b/config/index.js index 7171b4a..75f22bc 100644 --- a/config/index.js +++ b/config/index.js @@ -18,3 +18,5 @@ module.exports = { language: process.env.LANGUAGE?.toLowerCase() || 'en-us', guestPassword: process.env.GUEST_PASSWORD } + +if (module.exports.guestPassword) module.exports.wishlist.public = false