Commit a8b8fc41 authored by NGPixel's avatar NGPixel

fix: Public option not set correctly during setup wizard

parent fe029ef6
......@@ -320,7 +320,7 @@ module.exports = (port, spinner) => {
maxOtherFileSize: (conf.uploads && _.isNumber(conf.uploads.maxOtherFileSize)) ? conf.uploads.maxOtherFileSize : 100
}
conf.lang = req.body.lang
conf.public = (conf.public === true)
conf.public = (req.body.public === true)
if (conf.auth && conf.auth.local) {
conf.auth.local = { enabled: true }
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment