summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth2.c b/auth2.c
index 0a627bf80..88fca2c9b 100644
--- a/auth2.c
+++ b/auth2.c
@@ -235,7 +235,8 @@ input_userauth_request(int type, int plen, void *ctxt)
235 authenticated = 0; 235 authenticated = 0;
236 236
237#ifdef USE_PAM 237#ifdef USE_PAM
238 if (authenticated && authctxt->user && !do_pam_account(authctxt->user, NULL)) 238 if (authenticated && authctxt->user && !do_pam_account(authctxt->user,
239 NULL))
239 authenticated = 0; 240 authenticated = 0;
240#endif /* USE_PAM */ 241#endif /* USE_PAM */
241 242