diff options
Diffstat (limited to 'auth-chall.c')
-rw-r--r-- | auth-chall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-chall.c b/auth-chall.c index dd55d6eb..a9d314dd 100644 --- a/auth-chall.c +++ b/auth-chall.c @@ -84,7 +84,7 @@ verify_response(Authctxt *authctxt, const char *response) if ((device->query(authctxt->kbdintctxt, &name, &info, &numprompts, &prompts, &echo_on)) != 0) break; - if (numprompts == 0 && + if (numprompts == 0 && device->respond(authctxt->kbdintctxt, 0, resp) == 0) authenticated = 1; |