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

do not init duo if safari

This commit is contained in:
Kyle Spearrin
2018-04-04 16:51:11 -04:00
parent 013bf20a35
commit fd19efa9f2

View File

@@ -114,6 +114,10 @@ export class TwoFactorComponent implements OnInit, OnDestroy {
break; break;
case TwoFactorProviderType.Duo: case TwoFactorProviderType.Duo:
case TwoFactorProviderType.OrganizationDuo: case TwoFactorProviderType.OrganizationDuo:
if (this.platformUtilsService.isSafari()) {
break;
}
setTimeout(() => { setTimeout(() => {
(window as any).Duo.init({ (window as any).Duo.init({
host: params.Host, host: params.Host,