do not init duo if safari
This commit is contained in:
parent
013bf20a35
commit
fd19efa9f2
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue