mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-24 11:55:38 +01:00
add protocol if missing
This commit is contained in:
parent
acdfce7e88
commit
7c781b60c5
@ -468,6 +468,10 @@ namespace Bit.App.Services
|
||||
}
|
||||
}
|
||||
|
||||
if(!loginUriString.Contains("://") && loginUriString.Contains("."))
|
||||
{
|
||||
loginUriString = "http://" + loginUriString;
|
||||
}
|
||||
string loginDomainName = null;
|
||||
if(Uri.TryCreate(loginUriString, UriKind.Absolute, out Uri loginUri)
|
||||
&& DomainName.TryParseBaseDomain(loginUri.Host, out loginDomainName))
|
||||
|
Loading…
Reference in New Issue
Block a user