Skip to content

Commit

Permalink
pam: Inform pam clients of connection errors
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Jul 28, 2023
1 parent 3c2baa6 commit 6fc55df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pam/pam.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func pam_sm_authenticate(pamh *C.pam_handle_t, flags, argc C.int, argv **C.char)
UserName: &user,
})
if err != nil {
log.Debugf(context.TODO(), "Could not get current available brokers: %v", err)
sendAndLogError(pamh, "Could not get current available brokers: %v", err)
return C.PAM_AUTHINFO_UNAVAIL
}

Expand Down

0 comments on commit 6fc55df

Please sign in to comment.