Skip to content

Commit 2e37021

Browse files
committed
Fix logic error in deserialize_continue().
1 parent f2418f2 commit 2e37021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scitokens_internal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ std::unique_ptr<SciTokenAsyncStatus>
604604
SciToken::deserialize_continue(std::unique_ptr<SciTokenAsyncStatus> status) {
605605

606606
// Check if the status is completed (verification is complete)
607-
if (status->m_status) {
607+
if (status->m_status->m_done) {
608608
// Set all the claims
609609
m_claims = m_decoded->get_payload_claims();
610610

0 commit comments

Comments
 (0)