mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
change default match on basic auth to host (#1397)
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 0a20face13...3bf322a904
@@ -2,6 +2,8 @@ import { CipherService } from 'jslib/abstractions/cipher.service';
|
||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||
import { VaultTimeoutService } from 'jslib/abstractions/vaultTimeout.service';
|
||||
|
||||
import { UriMatchType } from 'jslib/enums';
|
||||
|
||||
export default class WebRequestBackground {
|
||||
private pendingAuthRequests: any[] = [];
|
||||
private webRequest: any;
|
||||
@@ -50,7 +52,7 @@ export default class WebRequestBackground {
|
||||
}
|
||||
|
||||
try {
|
||||
const ciphers = await this.cipherService.getAllDecryptedForUrl(domain);
|
||||
const ciphers = await this.cipherService.getAllDecryptedForUrl(domain, null, UriMatchType.Host);
|
||||
if (ciphers == null || ciphers.length !== 1) {
|
||||
error();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user