1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 03:33:54 +00:00

added 2fa support for org duo

This commit is contained in:
Kyle Spearrin
2018-04-03 15:11:37 -04:00
parent b55ddc026f
commit c89b01c461
6 changed files with 18 additions and 3 deletions

View File

@@ -34,7 +34,8 @@
</div>
</div>
</ng-container>
<ng-container *ngIf="selectedProviderType === providerType.Duo">
<ng-container *ngIf="selectedProviderType === providerType.Duo ||
selectedProviderType === providerType.OrganizationDuo">
<div id="duo-frame"><iframe id="duo_iframe"></iframe></div>
<div class="box last">
<div class="box-content">
@@ -55,7 +56,8 @@
</div>
<div class="buttons">
<button type="submit" class="btn primary block" [disabled]="form.loading" appBlurClick
*ngIf="selectedProviderType != null && selectedProviderType !== providerType.Duo">
*ngIf="selectedProviderType != null && selectedProviderType !== providerType.Duo &&
selectedProviderType !== providerType.OrganizationDuo">
<span [hidden]="form.loading"><i class="fa fa-sign-in"></i> {{'continue' | i18n}}</span>
<i class="fa fa-spinner fa-spin" [hidden]="!form.loading"></i>
</button>