aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/installer.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/initializers/installer.js b/server/initializers/installer.js
index 750eb2c59..ec9175f34 100644
--- a/server/initializers/installer.js
+++ b/server/initializers/installer.js
@@ -57,12 +57,12 @@ function createOAuthClientIfNotExist (callback) {
57 logger.info('Creating a default OAuth Client.') 57 logger.info('Creating a default OAuth Client.')
58 58
59 // TODO: generate password 59 // TODO: generate password
60 const password = 'megustalabanana' 60 const secret = 'megustalabanana'
61 Users.createClient(password, [ 'password' ], function (err, id) { 61 Users.createClient(secret, [ 'password' ], function (err, id) {
62 if (err) return callback(err) 62 if (err) return callback(err)
63 63
64 logger.info('Client id: ' + id) 64 logger.info('Client id: ' + id)
65 logger.info('Client password: ' + password) 65 logger.info('Client secret: ' + secret)
66 66
67 return callback(null) 67 return callback(null)
68 }) 68 })