mirror of
https://github.com/bitwarden/android.git
synced 2024-12-18 23:31:52 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Uri credsUri, lastUri, currentUri;
|
Uri lastUri, currentUri;
|
||||||
if(Uri.TryCreate(creds.Uri, UriKind.Absolute, out credsUri) &&
|
if(Uri.TryCreate(creds.LastUri, UriKind.Absolute, out lastUri) &&
|
||||||
Uri.TryCreate(creds.LastUri, UriKind.Absolute, out lastUri) &&
|
|
||||||
Uri.TryCreate(currentUriString, UriKind.Absolute, out currentUri) &&
|
Uri.TryCreate(currentUriString, UriKind.Absolute, out currentUri) &&
|
||||||
credsUri.Host == currentUri.Host && lastUri.Host == currentUri.Host)
|
lastUri.Host == currentUri.Host)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue