summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-05-21 22:40:54 +0800
committerCheng-Han, Wu2016-05-21 22:40:54 +0800
commitd74d7bc31b34c7d4565dfe783d2f6748bcc9805c (patch)
treee19595351bf8baf0040080d9d28b46da4ef45434
parent40967ce7e2dffa85b8749d4fb9b869b91e427f70 (diff)
Update to use dropbox api version 2
Diffstat (limited to '')
-rw-r--r--lib/auth.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/auth.js b/lib/auth.js
index 2915de11..f4a0ec8f 100644
--- a/lib/auth.js
+++ b/lib/auth.js
@@ -95,6 +95,7 @@ if (config.gitlab) {
//dropbox
if (config.dropbox) {
passport.use(new DropboxStrategy({
+ apiVersion: '2',
clientID: config.dropbox.clientID,
clientSecret: config.dropbox.clientSecret,
callbackURL: config.serverurl + '/auth/dropbox/callback'