summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/auth1.c b/auth1.c
index 7c0100103..d8b5836ba 100644
--- a/auth1.c
+++ b/auth1.c
@@ -290,6 +290,12 @@ do_authloop(Authctxt *authctxt)
290 authenticated = 0; 290 authenticated = 0;
291#endif 291#endif
292 292
293#ifdef USE_PAM
294 if (options.use_pam && authenticated &&
295 !PRIVSEP(do_pam_account()))
296 authenticated = 0;
297#endif
298
293 /* Log before sending the reply */ 299 /* Log before sending the reply */
294 auth_log(authctxt, authenticated, get_authname(type), info); 300 auth_log(authctxt, authenticated, get_authname(type), info);
295 301