Ver código fonte

try silencing template data for dichotomies

beltram 3 anos atrás
pai
commit
76dfcb00e4
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      acme/order.go

+ 2 - 2
acme/order.go

@@ -216,11 +216,11 @@ func (o *Order) Finalize(ctx context.Context, db DB, csr *x509.CertificateReques
 	data.Set("dpop", dpop)*/
 	data.Set("dpop", dpop)*/
 
 
 	// inject the raw access token as template variable
 	// inject the raw access token as template variable
-	access, ok := ctx.Value("access").(map[string]interface{})
+	/*access, ok := ctx.Value("access").(map[string]interface{})
 	if !ok {
 	if !ok {
 		return WrapErrorISE(err, "Invalid or absent access in context")
 		return WrapErrorISE(err, "Invalid or absent access in context")
 	}
 	}
-	data.Set("access", access)
+	data.Set("access", access)*/
 
 
 	/*// inject the raw OIDC id token as template variable
 	/*// inject the raw OIDC id token as template variable
 	oidc, ok := ctx.Value("oidc").(map[string]interface{})
 	oidc, ok := ctx.Value("oidc").(map[string]interface{})