2
0
mirror of https://github.com/therootcompany/acme.js synced 2025-04-18 13:40:40 +00:00

Merge 0d2064382644381150e5c2fff89e2af0edef4868 into 45fd6962f259c6399de05589848d68be42894316

This commit is contained in:
petercooperjr 2024-06-06 08:33:11 -04:00 committed by GitHub
commit e2d5b61e84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -855,7 +855,11 @@ ACME._postChallenge = function (me, options, kid, auth) {
.catch(transformError);
}
return respondToChallenge();
if (auth.status === 'valid') {
return pollStatus();
} else {
return respondToChallenge();
}
};
// options = { domains, claims, challenges }