fix agreeTos config typo

This commit is contained in:
AJ ONeal 2018-06-04 23:53:26 +00:00
parent dada009a62
commit 50a8536bff
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ function connectTunnel() {
// trusted source that is already checking, we're good // trusted source that is already checking, we're good
//if (-1 !== state.config.servernames.indexOf(opts.domains[0])) { //if (-1 !== state.config.servernames.indexOf(opts.domains[0])) {
opts.email = state.greenlock.email || state.config.email; opts.email = state.greenlock.email || state.config.email;
opts.agreeTos = state.greenlock.agree || state.agreeTos; opts.agreeTos = state.greenlock.agree || state.config.agreeTos;
cb(null, { options: opts, certs: certs }); cb(null, { options: opts, certs: certs });
return; return;
//} //}