1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-26 23:09:46 +02: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;
case TwoFactorProviderType.Duo:
case TwoFactorProviderType.OrganizationDuo:
if (this.platformUtilsService.isSafari()) {
break;
}
setTimeout(() => {
(window as any).Duo.init({
host: params.Host,