bugfix: call setNonce instead of setType

pull/105/merge
Justin Richer 13 years ago
parent a03129f70a
commit ac7a53b234

@ -74,7 +74,7 @@ public class JwtClaims extends ClaimSet {
} else if (element.getKey().equals(TYPE)) {
setType(element.getValue().getAsString());
} else if (element.getKey().equals(NONCE)){
setType(element.getValue().getAsString());
setNonce(element.getValue().getAsString());
}else {
pass.add(element.getKey(), element.getValue());
}

Loading…
Cancel
Save