mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-10 09:59:48 +01:00
Don't process reload when cancelling biometrics (#11081)
This commit is contained in:
parent
be6f257398
commit
f6e51ef024
@ -170,8 +170,12 @@ export class BiometricsService extends DesktopBiometricsService {
|
||||
try {
|
||||
response = await callback();
|
||||
restartReload ||= restartReloadCallback(response);
|
||||
} catch {
|
||||
restartReload = true;
|
||||
} catch (error) {
|
||||
if (error.message === "Biometric authentication failed") {
|
||||
restartReload = false;
|
||||
} else {
|
||||
restartReload = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (restartReload) {
|
||||
|
Loading…
Reference in New Issue
Block a user