Commit 794ecc6e authored by NGPixel's avatar NGPixel

fix: new install local auth not enabled (#2375)

parent 7fdf8ab3
exports.up = async knex => {
// -> Fix 2.5.117 new installations without isEnabled on local auth (#2382)
await knex('authentication').where('key', 'local').update({ isEnabled: true })
}
exports.down = knex => { }
exports.up = async knex => {
// -> Fix 2.5.117 new installations without isEnabled on local auth (#2382)
await knex('authentication').where('key', 'local').update({ isEnabled: true })
}
exports.down = knex => { }
......@@ -258,6 +258,7 @@ module.exports = () => {
key: 'local',
config: {},
selfRegistration: false,
isEnabled: true,
domainWhitelist: {v: []},
autoEnrollGroups: {v: []},
order: 0,
......
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