1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-21 03:43:58 +00:00

PM-9115 - TwoFactorAuthEmail - restore provider size check

This commit is contained in:
Jared Snider
2025-04-18 13:07:30 -04:00
parent 7d3460e737
commit 00e63a7c51

View File

@@ -81,7 +81,7 @@ export class TwoFactorAuthEmailComponent implements OnInit {
const providers = await this.twoFactorService.getProviders();
if (!providers) {
if (!providers || providers.size === 0) {
throw new Error("User has no 2FA Providers");
}