if GUEST_PASSWORD is set, LISTS_PUBLIC will be set to false (#48)
This commit is contained in:
parent
d53aba5c50
commit
02907e8953
1 changed files with 2 additions and 0 deletions
|
@ -18,3 +18,5 @@ module.exports = {
|
||||||
language: process.env.LANGUAGE?.toLowerCase() || 'en-us',
|
language: process.env.LANGUAGE?.toLowerCase() || 'en-us',
|
||||||
guestPassword: process.env.GUEST_PASSWORD
|
guestPassword: process.env.GUEST_PASSWORD
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (module.exports.guestPassword) module.exports.wishlist.public = false
|
||||||
|
|
Loading…
Reference in a new issue