if GUEST_PASSWORD is set, LISTS_PUBLIC will be set to false (#48)

This commit is contained in:
Wingy 2022-10-18 16:22:07 -04:00 committed by GitHub
parent d53aba5c50
commit 02907e8953
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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