2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Restore AUTH_INTR support, it is still needed.

We still need AUTH_INTR to know when to break out of the password
prompt loop.
This commit is contained in:
Todd C. Miller
2023-08-29 10:02:09 -06:00
parent 3c05e748a4
commit 8cd0d74fbb
8 changed files with 20 additions and 13 deletions

View File

@@ -355,6 +355,7 @@ done:
case AUTH_SUCCESS:
ret = true;
break;
case AUTH_INTR:
case AUTH_FAILURE:
if (ntries != 0)
SET(validated, FLAG_BAD_PASSWORD);