Skip to content

Commit

Permalink
Merge pull request #10 from kpcyrd/bad-nonce
Browse files Browse the repository at this point in the history
Fix badNonce detection by franklx
  • Loading branch information
kpcyrd authored Oct 3, 2024
2 parents f4f07c3 + d0e1c96 commit 60a8400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub struct ApiProblem {

impl ApiProblem {
pub fn is_bad_nonce(&self) -> bool {
self._type == "badNonce"
self._type == "urn:ietf:params:acme:error:badNonce"
}
pub fn is_jwt_verification_error(&self) -> bool {
(self._type == "urn:acme:error:malformed"
Expand Down

0 comments on commit 60a8400

Please sign in to comment.