summaryrefslogtreecommitdiffstats
path: root/auth2-kbdint.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-kbdint.c')
-rw-r--r--auth2-kbdint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth2-kbdint.c b/auth2-kbdint.c
index 1696ef4d..fa836497 100644
--- a/auth2-kbdint.c
+++ b/auth2-kbdint.c
@@ -53,7 +53,7 @@ userauth_kbdint(Authctxt *authctxt)
xfree(lang);
#ifdef HAVE_CYGWIN
if (check_nt_auth(0, authctxt->pw) == 0)
- return(0);
+ authenticated = 0;
#endif
return authenticated;
}