diff --git a/examples/restified.py b/examples/restified.py index 7947887eb..1a11bf783 100644 --- a/examples/restified.py +++ b/examples/restified.py @@ -19,6 +19,9 @@ net = network2.Network(NEW_REG_URL, key) regr = net.register(contact=( 'mailto:cert-admin@example.com', 'tel:+12025551212')) +logging.info('Auto-accepting TOS: %s', regr.terms_of_service) +net.update_registration(regr.update( + body=regr.body.update(agreement=regr.terms_of_service))) logging.debug(regr) authzr = net.request_challenges(