Fix unused debug variable.
authorTom Clegg <tom@curii.com>
Thu, 17 Nov 2022 01:46:09 +0000 (20:46 -0500)
committerTom Clegg <tom@curii.com>
Thu, 17 Nov 2022 01:46:09 +0000 (20:46 -0500)
refs #19779

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

lib/pam/testclient.go

index 33bd47a35722edc6e68990ec48c1aa290619e8e1..02a278c0e60fa6aed88490b1de0461558532eb9b 100644 (file)
@@ -76,7 +76,7 @@ func main() {
        }
        err = tx.Authenticate(pam.DisallowNullAuthtok)
        if err != nil {
-               err = fmt.Errorf("PAM: %s (message = %q)", err, errorMessage)
+               err = fmt.Errorf("PAM: %s (message = %q, sentPassword = %v)", err, errorMessage, sentPassword)
                logrus.WithError(err).Print("authentication failed")
                os.Exit(1)
        }