Skip to content

Commit aed6cc4

Browse files
Update src/scitokens_internal.h
Improvement from the lint action. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent af6d34a commit aed6cc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scitokens_internal.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,8 @@ class Validator {
448448
if (!jwt.has_payload_claim("iat")) {
449449
throw JWTVerificationException("'iat' claim is mandatory");
450450
}
451-
if (m_profile == SciToken::Profile::SCITOKENS_1_0 || m_profile == SciToken::Profile::SCITOKENS_2_0) {
451+
if (m_profile == SciToken::Profile::SCITOKENS_1_0 ||
452+
m_profile == SciToken::Profile::SCITOKENS_2_0) {
452453
if (!jwt.has_payload_claim("nbf")) {
453454
throw JWTVerificationException("'nbf' claim is mandatory");
454455
}

0 commit comments

Comments
 (0)