mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 18:38:27 +03:00
restrict workaround to Android
This commit is contained in:
parent
69688cfb98
commit
c2753d5dc4
1 changed files with 2 additions and 0 deletions
|
@ -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}";
|
||||||
|
|
Loading…
Reference in a new issue