diff --git a/lib/client.js b/lib/client.js index f86bfff..ec4d26f 100644 --- a/lib/client.js +++ b/lib/client.js @@ -144,10 +144,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); }