fix: oups

pull/1671/head
beltram 9 months ago committed by Herman Slatman
parent 13df461e97
commit ff07fdc0fd
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

@ -451,7 +451,7 @@ func wireOIDC01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO
return WrapErrorISE(err, "There are not enough orders for this account for this custom OIDC challenge")
}
order := orders[len(orders)]
order := orders[len(orders)-1]
if err := db.CreateOidcToken(ctx, order, oidcToken); err != nil {
return WrapErrorISE(err, "Failed storing OIDC id token")

Loading…
Cancel
Save