craph
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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', |
|
|
|