Skip to content

Commit

Permalink
Merge pull request #682 from openziti/fix-session-refresh-on-totp-enable
Browse files Browse the repository at this point in the history
Fix session refresh on totp enable
  • Loading branch information
dovholuknf authored Jul 2, 2024
2 parents e8fb572 + 44ed488 commit ee95018
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/auth_queries.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ void ziti_mfa_verify_internal_cb(void *empty, const ziti_error *err, void *ctx)
ZTX_LOG(ERROR, "error during verify MFA call: %d - %s - %s", err->http_code, err->code, err->message);
mfa_cb_ctx->cb(mfa_cb_ctx->ztx, err->err, mfa_cb_ctx->cb_ctx);
} else {
ziti_force_api_session_refresh(ztx);
mfa_cb_ctx->cb(mfa_cb_ctx->ztx, ZITI_OK, mfa_cb_ctx->cb_ctx);
}

Expand Down

0 comments on commit ee95018

Please sign in to comment.