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

pull/2390/head
NGPixel 4 years ago
parent 7fdf8ab3f9
commit 794ecc6ef6

@ -0,0 +1,6 @@
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 => { }

@ -0,0 +1,6 @@
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,

Loading…
Cancel
Save