Merge branch 'handshake-only' of github.com:Daplie/letsencrypt-forge into handshake-only
This commit is contained in:
commit
985c3c973b
|
@ -153,10 +153,7 @@ function registerNewAccount(state, options, cb) {
|
|||
|
||||
if (state.termsRequired) {
|
||||
state.termsURL=links['terms-of-service'];
|
||||
options.agreeToTerms({
|
||||
tosUrl: state.termsURL
|
||||
, email: options.email
|
||||
}, function (err, agree) {
|
||||
options.agreeToTerms(state.termsURL, function (err, agree) {
|
||||
if (err) {
|
||||
return handleErr(err);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue