We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a8b415 commit 3814eefCopy full SHA for 3814eef
server/setup.js
@@ -288,7 +288,7 @@ module.exports = () => {
288
// Create root administrator
289
WIKI.logger.info('Creating root administrator...')
290
const adminUser = await WIKI.models.users.query().insert({
291
- email: req.body.adminEmail,
+ email: req.body.adminEmail.toLowerCase(),
292
provider: 'local',
293
password: req.body.adminPassword,
294
name: 'Administrator',
0 commit comments