mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
restrict workaround to Android
This commit is contained in:
@@ -179,7 +179,9 @@ namespace Bit.App.Pages
|
|||||||
break;
|
break;
|
||||||
case TwoFactorProviderType.Duo:
|
case TwoFactorProviderType.Duo:
|
||||||
case TwoFactorProviderType.OrganizationDuo:
|
case TwoFactorProviderType.OrganizationDuo:
|
||||||
|
#if ANDROID
|
||||||
SetDuoWebViewHeight();
|
SetDuoWebViewHeight();
|
||||||
|
#endif
|
||||||
var host = WebUtility.UrlEncode(providerData["Host"] as string);
|
var host = WebUtility.UrlEncode(providerData["Host"] as string);
|
||||||
var req = WebUtility.UrlEncode(providerData["Signature"] as string);
|
var req = WebUtility.UrlEncode(providerData["Signature"] as string);
|
||||||
page.DuoWebView.Uri = $"{_webVaultUrl}/duo-connector.html?host={host}&request={req}";
|
page.DuoWebView.Uri = $"{_webVaultUrl}/duo-connector.html?host={host}&request={req}";
|
||||||
|
|||||||
Reference in New Issue
Block a user