mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
fix for Captcha crashing on account creation (#1580)
This commit is contained in:
parent
ce4e3ed1cd
commit
62a8d1c017
1 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,12 @@ namespace Bit.App.Pages
|
|||
captchaRequiredText = AppResources.CaptchaRequired,
|
||||
});
|
||||
|
||||
var url = environmentService.GetWebVaultUrl() + "/captcha-mobile-connector.html?" + "data=" + data +
|
||||
var url = environmentService.GetWebVaultUrl();
|
||||
if (url == null)
|
||||
{
|
||||
url = "https://vault.bitwarden.com";
|
||||
}
|
||||
url += "/captcha-mobile-connector.html?" + "data=" + data +
|
||||
"&parent=" + Uri.EscapeDataString(callbackUri) + "&v=1";
|
||||
|
||||
WebAuthenticatorResult authResult = null;
|
||||
|
|
Loading…
Reference in a new issue