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:
@@ -91,7 +91,7 @@ export class TwoFactorAuthEmailComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
if (providers.size > 1 && !emailAlreadySent) {
|
||||
if (!emailAlreadySent) {
|
||||
await this.sendEmail(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user