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
1 changed files with 4 additions and 0 deletions

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,