mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Don't process reload when cancelling biometrics (#11081)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user