forked from coolaj86/goldilocks.js
pass oauth3 provider
This commit is contained in:
parent
ecb73d58e2
commit
9f48cc5780
|
@ -255,6 +255,7 @@ function run() {
|
||||||
agreeTos: argv.agreeTos || argv['agree-tos']
|
agreeTos: argv.agreeTos || argv['agree-tos']
|
||||||
, debug: argv.debug
|
, debug: argv.debug
|
||||||
, device: argv.device
|
, device: argv.device
|
||||||
|
, provider: (argv.provider && 'false' !== argv.provider) ? argv.provider : 'oauth3.org'
|
||||||
, email: argv.email
|
, email: argv.email
|
||||||
, httpsOptions: {
|
, httpsOptions: {
|
||||||
key: httpsOptions.key
|
key: httpsOptions.key
|
||||||
|
@ -363,6 +364,7 @@ function run() {
|
||||||
}
|
}
|
||||||
p = DDNS.refreshToken({
|
p = DDNS.refreshToken({
|
||||||
email: opts.email
|
email: opts.email
|
||||||
|
, providerUrl: opts.provider
|
||||||
, silent: true
|
, silent: true
|
||||||
, homedir: opts.homedir
|
, homedir: opts.homedir
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in New Issue