fix: Public option not set correctly during setup wizard
This commit is contained in:
parent
fe029ef67d
commit
a8b8fc417c
@ -320,7 +320,7 @@ module.exports = (port, spinner) => {
|
|||||||
maxOtherFileSize: (conf.uploads && _.isNumber(conf.uploads.maxOtherFileSize)) ? conf.uploads.maxOtherFileSize : 100
|
maxOtherFileSize: (conf.uploads && _.isNumber(conf.uploads.maxOtherFileSize)) ? conf.uploads.maxOtherFileSize : 100
|
||||||
}
|
}
|
||||||
conf.lang = req.body.lang
|
conf.lang = req.body.lang
|
||||||
conf.public = (conf.public === true)
|
conf.public = (req.body.public === true)
|
||||||
if (conf.auth && conf.auth.local) {
|
if (conf.auth && conf.auth.local) {
|
||||||
conf.auth.local = { enabled: true }
|
conf.auth.local = { enabled: true }
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user