Failed fingerprint auth prevents password authentication
When fingerprint authentication fails (i.e. wrong finger was presented), then password authentication will not work until the operation has been cancelled.
This happens because _onVerificationFailed
will reset the state of the password prmopt even when this._queryingService !== serviceName
. Most likely, we should just do an early return, i.e.:
_onVerificationFailed(userVerifier, serviceName, canRetry) {
this.updateSensitivity(canRetry);
if (this._queryingService !== serviceName)
return;
this._queryingService = null;
this.clear();
this.setActorInDefaultButtonWell(null);
this.verificationStatus = AuthPromptStatus.VERIFICATION_FAILED;
Util.wiggle(this._entry);
}