pass oauth3 provider

This commit is contained in:
AJ ONeal 2017-01-10 18:24:54 -07:00
parent ecb73d58e2
commit 9f48cc5780
1 changed files with 2 additions and 0 deletions

View File

@ -255,6 +255,7 @@ function run() {
agreeTos: argv.agreeTos || argv['agree-tos']
, debug: argv.debug
, device: argv.device
, provider: (argv.provider && 'false' !== argv.provider) ? argv.provider : 'oauth3.org'
, email: argv.email
, httpsOptions: {
key: httpsOptions.key
@ -363,6 +364,7 @@ function run() {
}
p = DDNS.refreshToken({
email: opts.email
, providerUrl: opts.provider
, silent: true
, homedir: opts.homedir
}, {