TODO on telling server when challenges couldn't be met

This commit is contained in:
Seth Schoen
2012-10-18 17:29:15 -07:00
parent 900120de95
commit 6fc950f28c
+2
View File
@@ -451,6 +451,8 @@ def authenticate():
for challenge in challenges:
if not challenge.perform(quiet=curses):
# TODO: In this case the client should probably send a failure
# to the server.
logger.fatal("challenge failed")
sys.exit(1)
logger.info("Configured Apache for challenge; waiting for verification...")