mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 18:18:30 +00:00
fix: oups
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user