1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Ensure email is sent if there is only 1 provider

This commit is contained in:
Alec Rippberger
2025-03-04 18:44:56 -06:00
parent 6ab56027f2
commit 5823f4c849

View File

@@ -91,7 +91,7 @@ export class TwoFactorAuthEmailComponent implements OnInit {
}
}
if (providers.size > 1 && !emailAlreadySent) {
if (!emailAlreadySent) {
await this.sendEmail(false);
}
}