X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a35ec27b40ce3ca0797cdcd8e0a79b2b8896af47..09cbdc3074b3f1e69c9c537875146f6da0a6ed8f:/lib/pam/testclient.go diff --git a/lib/pam/testclient.go b/lib/pam/testclient.go index 3e92cac444..02a278c0e6 100644 --- a/lib/pam/testclient.go +++ b/lib/pam/testclient.go @@ -2,7 +2,8 @@ // // 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. @@ -75,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) }