aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/installer.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-07-20 16:23:58 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-07-20 16:23:58 +0200
commit2f372a865487427ff97ad17edd0e6adfbb478c80 (patch)
tree84e8b2ba2240e83dcdeeb057579327b0a663974b /server/initializers/installer.js
parent66698b833f77806045b36fdeba612acda43dd7f7 (diff)
downloadPeerTube-2f372a865487427ff97ad17edd0e6adfbb478c80.tar.gz
PeerTube-2f372a865487427ff97ad17edd0e6adfbb478c80.tar.zst
PeerTube-2f372a865487427ff97ad17edd0e6adfbb478c80.zip
Server: implement refresh token
Diffstat (limited to 'server/initializers/installer.js')
-rw-r--r--server/initializers/installer.js2
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) {