Skip to content

Commit

Permalink
fix: oups
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Sep 12, 2023
1 parent 52b2396 commit 5cb200f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acme/challenge.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,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")
Expand Down

0 comments on commit 5cb200f

Please sign in to comment.