Skip to content

Commit

Permalink
fixing typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cviecco committed Jun 23, 2024
1 parent c751a0c commit 2511e41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/keymaster/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ func setupCerts(

}
}
logger.Debugf(1, "SetupCerts: authenticaiton Complete")
logger.Debugf(1, "SetupCerts: authentication Complete")
if err := signers.Wait(); err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/keymasterd/2fa_okta.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (state *RuntimeState) oktaPushStartHandler(w http.ResponseWriter, r *http.R
}
if len(userResponse.Embedded.Factor) < 1 {
logger.Printf("oktaPushStartHandler: user %s does not have valid authenticators", authData.Username)
logger.Debugf(2, "oktaPushStartHandler: usedata for broken user%s is :%s", authData.Username, userResponse)
logger.Debugf(2, "oktaPushStartHandler: userdata for broken user%s is :%s", authData.Username, userResponse)
state.writeFailureResponse(w, r, http.StatusPreconditionFailed, "No valid MFA authenticators available")
return
}
Expand Down
2 changes: 1 addition & 1 deletion lib/authenticators/okta/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (pa *PasswordAuthenticator) validateUserPush(username string) (PushResponse
if userResponse == nil {
return PushResponseRejected, nil
}
pa.logger.Debugf(2, "oktaAuthenticator: validsteUserPush: after getting userResponse=%+v", userResponse)
pa.logger.Debugf(2, "oktaAuthenticator: validateUserPush: after getting userResponse=%+v", userResponse)
rvalue := PushResponseRejected
for _, factor := range userResponse.Embedded.Factor {
if !(factor.FactorType == "push" && factor.VendorName == "OKTA") {
Expand Down

0 comments on commit 2511e41

Please sign in to comment.