Skip to content

Commit

Permalink
change fmt println to logger debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
hiruna committed Jun 8, 2021
1 parent 4693b7d commit 752a5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/okta/okta.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 752a5b7

Please sign in to comment.