//
// SPDX-License-Identifier: Apache-2.0
-// +build never
+//go:build ignore
+// +build ignore
// This file is compiled by docker_test.go to build a test client.
// It's not part of the pam module itself.
}
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)
}