summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--auth-pam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth-pam.c b/auth-pam.c
index b49d415e..e143304e 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -1375,6 +1375,8 @@ sshpam_auth_passwd(Authctxt *authctxt, const char *password)
fatal("PAM: %s: failed to set PAM_CONV: %s", __func__,
pam_strerror(sshpam_handle, sshpam_err));
+ expose_authinfo(__func__);
+
sshpam_err = pam_authenticate(sshpam_handle, flags);
sshpam_password = NULL;
free(fake);