Skip to content

Commit

Permalink
add logging to UserAuthenticate check-in
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Jan 30, 2025
1 parent a192ac3 commit efe6973
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions service/nanomdm/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ func (s *Service) UserAuthenticate(r *mdm.Request, message *mdm.UserAuthenticate
if err := s.setupRequest(r, &message.Enrollment); err != nil {
return nil, err
}
ctxlog.Logger(r.Context, s.logger).Info(
"msg", "UserAuthenticate",
"digest_response", message.DigestResponse != "",
)
if s.ua == nil {
return nil, errors.New("no UserAuthenticate handler")
}
Expand Down

0 comments on commit efe6973

Please sign in to comment.