Update to use dropbox api version 2

This commit is contained in:
Cheng-Han, Wu 2016-05-21 22:40:54 +08:00
parent 40967ce7e2
commit d74d7bc31b

View file

@ -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'