diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/installer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/installer.js b/server/initializers/installer.js index fb63b81ac..837a987dd 100644 --- a/server/initializers/installer.js +++ b/server/initializers/installer.js | |||
@@ -96,6 +96,7 @@ function createOAuthAdminIfNotExist (callback) { | |||
96 | 96 | ||
97 | const username = 'root' | 97 | const username = 'root' |
98 | const role = constants.USER_ROLES.ADMIN | 98 | const role = constants.USER_ROLES.ADMIN |
99 | const email = constants.CONFIG.ADMIN.EMAIL | ||
99 | const createOptions = {} | 100 | const createOptions = {} |
100 | let password = '' | 101 | let password = '' |
101 | 102 | ||
@@ -115,6 +116,7 @@ function createOAuthAdminIfNotExist (callback) { | |||
115 | 116 | ||
116 | const userData = { | 117 | const userData = { |
117 | username, | 118 | username, |
119 | email, | ||
118 | password, | 120 | password, |
119 | role | 121 | role |
120 | } | 122 | } |