mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
added 2fa support for org duo
This commit is contained in:
@@ -35,6 +35,10 @@ export class TwoFactorOptionsComponent implements OnInit {
|
||||
private platformUtilsService: PlatformUtilsService) { }
|
||||
|
||||
ngOnInit() {
|
||||
if (this.authService.twoFactorProviders.has(TwoFactorProviderType.OrganizationDuo)) {
|
||||
this.providers.push(TwoFactorProviders[TwoFactorProviderType.OrganizationDuo]);
|
||||
}
|
||||
|
||||
if (this.authService.twoFactorProviders.has(TwoFactorProviderType.Authenticator)) {
|
||||
this.providers.push(TwoFactorProviders[TwoFactorProviderType.Authenticator]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user