mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Always emit VerifyFingerSelected
If the finger passed for verification is -1, always emit the VerifyFingerSelected signal, as the front-end isn't to know whether we're using identification or verification.
This commit is contained in:
committed by
Daniel Drake
parent
35ae4dd071
commit
09852db6ee
@ -615,14 +615,15 @@ static void fprint_device_verify_start(FprintDevice *rdev,
|
||||
return;
|
||||
}
|
||||
|
||||
/* Emit VerifyFingerSelected telling the front-end which finger
|
||||
* we selected for auth */
|
||||
g_signal_emit(rdev, signals[SIGNAL_VERIFY_FINGER_SELECTED], 0, finger_num);
|
||||
|
||||
/* FIXME fp_async_verify_start should copy the fp_print_data */
|
||||
r = fp_async_verify_start(priv->dev, data, verify_cb, rdev);
|
||||
}
|
||||
|
||||
/* Emit VerifyFingerSelected telling the front-end which finger
|
||||
* we selected for auth */
|
||||
g_signal_emit(rdev, signals[SIGNAL_VERIFY_FINGER_SELECTED], 0, finger_num);
|
||||
|
||||
|
||||
if (r < 0) {
|
||||
if (data != NULL) {
|
||||
fp_print_data_free (data);
|
||||
|
||||
Reference in New Issue
Block a user