projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '21353-loginas-flaky-bug' into main. Closes #21353.
[arvados.git]
/
lib
/
pam
/
testclient.go
diff --git
a/lib/pam/testclient.go
b/lib/pam/testclient.go
index 33bd47a35722edc6e68990ec48c1aa290619e8e1..02a278c0e60fa6aed88490b1de0461558532eb9b 100644
(file)
--- a/
lib/pam/testclient.go
+++ b/
lib/pam/testclient.go
@@
-76,7
+76,7
@@
func main() {
}
err = tx.Authenticate(pam.DisallowNullAuthtok)
if err != nil {
}
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)
}
logrus.WithError(err).Print("authentication failed")
os.Exit(1)
}