diff options
Diffstat (limited to 'server/initializers/installer.js')
-rw-r--r-- | server/initializers/installer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/installer.js b/server/initializers/installer.js index 490084104..32830d4da 100644 --- a/server/initializers/installer.js +++ b/server/initializers/installer.js | |||
@@ -66,7 +66,7 @@ function createOAuthClientIfNotExist (callback) { | |||
66 | const secret = passwordGenerator(32, false) | 66 | const secret = passwordGenerator(32, false) |
67 | const client = new Client({ | 67 | const client = new Client({ |
68 | clientSecret: secret, | 68 | clientSecret: secret, |
69 | grants: [ 'password' ] | 69 | grants: [ 'password', 'refresh_token' ] |
70 | }) | 70 | }) |
71 | 71 | ||
72 | client.save(function (err, createdClient) { | 72 | client.save(function (err, createdClient) { |