diff options
Diffstat (limited to 'server/initializers/installer.js')
-rw-r--r-- | server/initializers/installer.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/initializers/installer.js b/server/initializers/installer.js index 8c3148e79..1df300ba8 100644 --- a/server/initializers/installer.js +++ b/server/initializers/installer.js | |||
@@ -18,7 +18,7 @@ const Client = mongoose.model('OAuthClient') | |||
18 | const User = mongoose.model('User') | 18 | const User = mongoose.model('User') |
19 | 19 | ||
20 | const installer = { | 20 | const installer = { |
21 | installApplication: installApplication | 21 | installApplication |
22 | } | 22 | } |
23 | 23 | ||
24 | function installApplication (callback) { | 24 | function installApplication (callback) { |
@@ -107,9 +107,9 @@ function createOAuthAdminIfNotExist (callback) { | |||
107 | } | 107 | } |
108 | 108 | ||
109 | const user = new User({ | 109 | const user = new User({ |
110 | username: username, | 110 | username, |
111 | password: password, | 111 | password, |
112 | role: role | 112 | role |
113 | }) | 113 | }) |
114 | 114 | ||
115 | user.save(function (err, createdUser) { | 115 | user.save(function (err, createdUser) { |