mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-26 12:16:07 +01:00
dont compare the creds uri since it could be a different, equivalent domain
This commit is contained in:
parent
4af91b5ab6
commit
99e78092ed
@ -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 New Issue
Block a user