mirror of
https://github.com/bitwarden/android.git
synced 2024-12-18 15:21:53 +03:00
dont compare the creds uri since it could be a different, equivalent domain
This commit is contained in:
parent
4af91b5ab6
commit
99e78092ed
1 changed files with 3 additions and 4 deletions
|
@ -187,11 +187,10 @@ namespace Bit.Android
|
|||
return false;
|
||||
}
|
||||
|
||||
Uri credsUri, lastUri, currentUri;
|
||||
if(Uri.TryCreate(creds.Uri, UriKind.Absolute, out credsUri) &&
|
||||
Uri.TryCreate(creds.LastUri, UriKind.Absolute, out lastUri) &&
|
||||
Uri lastUri, currentUri;
|
||||
if(Uri.TryCreate(creds.LastUri, UriKind.Absolute, out lastUri) &&
|
||||
Uri.TryCreate(currentUriString, UriKind.Absolute, out currentUri) &&
|
||||
credsUri.Host == currentUri.Host && lastUri.Host == currentUri.Host)
|
||||
lastUri.Host == currentUri.Host)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue