mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
don't re-throw exception on 2fa failure
This commit is contained in:
@@ -175,11 +175,9 @@ export class TwoFactorComponent implements OnInit, OnDestroy {
|
||||
} else {
|
||||
this.router.navigate([this.successRoute]);
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
if (this.selectedProviderType === TwoFactorProviderType.U2f && this.u2f != null) {
|
||||
this.u2f.start();
|
||||
} else {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user