mirror of
https://github.com/therootcompany/acme.js
synced 2025-04-20 06:30:40 +00:00
Merge 0d2064382644381150e5c2fff89e2af0edef4868 into 45fd6962f259c6399de05589848d68be42894316
This commit is contained in:
commit
e2d5b61e84
4
acme.js
4
acme.js
@ -855,7 +855,11 @@ ACME._postChallenge = function (me, options, kid, auth) {
|
|||||||
.catch(transformError);
|
.catch(transformError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (auth.status === 'valid') {
|
||||||
|
return pollStatus();
|
||||||
|
} else {
|
||||||
return respondToChallenge();
|
return respondToChallenge();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// options = { domains, claims, challenges }
|
// options = { domains, claims, challenges }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user