bugfix: call setNonce instead of setType

pull/105/merge
Justin Richer 2012-07-03 16:38:53 -04:00
parent a03129f70a
commit ac7a53b234
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}