Revert "Actually verify compliance to a specific subscriber agreement"

This reverts commit 33ed771180.

Conflicts:
	wfe/web-front-end.go
This commit is contained in:
Jacob Hoffman-Andrews 2015-06-02 12:46:54 -07:00
parent 04479eca5c
commit 3974a0eaa6
1 changed files with 3 additions and 3 deletions

View File

@ -317,7 +317,7 @@ func (wfe *WebFrontEndImpl) NewAuthorization(response http.ResponseWriter, reque
}
return
}
if currReg.Agreement != wfe.SubscriberAgreementURL {
if currReg.Agreement == "" {
wfe.sendError(response, "Must agree to subscriber agreement before any further actions", nil, http.StatusForbidden)
return
}
@ -446,7 +446,7 @@ func (wfe *WebFrontEndImpl) NewCertificate(response http.ResponseWriter, request
}
return
}
if reg.Agreement != wfe.SubscriberAgreementURL {
if reg.Agreement == "" {
wfe.sendError(response, "Must agree to subscriber agreement before any further actions", nil, http.StatusForbidden)
return
}
@ -555,7 +555,7 @@ func (wfe *WebFrontEndImpl) Challenge(authz core.Authorization, response http.Re
}
return
}
if currReg.Agreement != wfe.SubscriberAgreementURL {
if currReg.Agreement == "" {
wfe.sendError(response, "Must agree to subscriber agreement before any further actions", nil, http.StatusForbidden)
return
}