From 752a5b786a70ba1bc67b5d877b041fe5b65a1afa Mon Sep 17 00:00:00 2001 From: Hiruna Wijesinghe Date: Tue, 8 Jun 2021 15:06:48 +1000 Subject: [PATCH] change fmt println to logger debug output --- pkg/provider/okta/okta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/provider/okta/okta.go b/pkg/provider/okta/okta.go index 6c12a21be..9855fa85b 100644 --- a/pkg/provider/okta/okta.go +++ b/pkg/provider/okta/okta.go @@ -791,7 +791,7 @@ func verifyMfa(oc *Client, oktaOrgHost string, loginDetails *creds.LoginDetails, // on 'success' status if gjson.Get(body, "status").String() == "SUCCESS" { fmt.Printf(" Approved\n\n") - fmt.Println(gjson.Get(body, "expiresAt").String()) // DEBUG + logger.Debugf("func verifyMfa | okta exiry: %s", gjson.Get(body, "expiresAt").String()) // DEBUG return gjson.Get(body, "sessionToken").String(), nil }