Commit c738aa33 authored by Bastien Nocera's avatar Bastien Nocera Committed by Daniel Drake
Browse files

Fix PolicyKit action for deleting fingerprints

We can only delete fingerprints if we could enroll them
in the first place.
parent 81933406
......@@ -714,7 +714,7 @@ static void fprint_device_delete_enrolled_fingers(FprintDevice *rdev,
return;
}
if (_fprint_device_check_polkit_for_action (rdev, context, "net.reactivated.fprint.device.verify", &error) == FALSE) {
if (_fprint_device_check_polkit_for_action (rdev, context, "net.reactivated.fprint.device.enroll", &error) == FALSE) {
dbus_g_method_return_error (context, error);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment