diff --git a/server/setup.js b/server/setup.js index 44fb9d5d..6d87a29f 100644 --- a/server/setup.js +++ b/server/setup.js @@ -288,7 +288,7 @@ module.exports = () => { // Create root administrator WIKI.logger.info('Creating root administrator...') const adminUser = await WIKI.models.users.query().insert({ - email: req.body.adminEmail, + email: req.body.adminEmail.toLowerCase(), provider: 'local', password: req.body.adminPassword, name: 'Administrator',