1
0
mirror of https://github.com/bitwarden/mobile synced 2024-12-22 06:36:47 +01:00

restrict workaround to Android

This commit is contained in:
mpbw2 2024-01-29 16:44:05 -05:00
parent 69688cfb98
commit c2753d5dc4
No known key found for this signature in database

View File

@ -179,7 +179,9 @@ namespace Bit.App.Pages
break;
case TwoFactorProviderType.Duo:
case TwoFactorProviderType.OrganizationDuo:
#if ANDROID
SetDuoWebViewHeight();
#endif
var host = WebUtility.UrlEncode(providerData["Host"] as string);
var req = WebUtility.UrlEncode(providerData["Signature"] as string);
page.DuoWebView.Uri = $"{_webVaultUrl}/duo-connector.html?host={host}&request={req}";