mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
verify: Pass the "any" finger parameter to the daemon
fprintd supports "any" finger parameter for the VerifyStart call, and it's up to the daemon to pick the first known if the device doesn't support identification. So remove the check to verify utility and add a test to verify this is respected.
This commit is contained in:
@ -108,8 +108,7 @@ static void find_finger(DBusGProxy *dev, const char *username)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (finger_name == NULL || strcmp (finger_name, "any") == 0) {
|
||||
g_free (finger_name);
|
||||
if (finger_name == NULL) {
|
||||
finger_name = g_strdup (fingers[0]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user