Minor tweak so old server doesn't break autofill (#385)
This commit is contained in:
parent
79e6d012c5
commit
3ab710389b
|
@ -1106,7 +1106,7 @@ export class CipherService implements CipherServiceAbstraction {
|
||||||
if (autofillOnPageLoad) {
|
if (autofillOnPageLoad) {
|
||||||
const autofillOnPageLoadDefault = await this.storageService.get(ConstantsService.autoFillOnPageLoadDefaultKey);
|
const autofillOnPageLoadDefault = await this.storageService.get(ConstantsService.autoFillOnPageLoadDefaultKey);
|
||||||
ciphers = ciphers.filter(cipher => cipher.login.autofillOnPageLoad ||
|
ciphers = ciphers.filter(cipher => cipher.login.autofillOnPageLoad ||
|
||||||
(cipher.login.autofillOnPageLoad === null && autofillOnPageLoadDefault));
|
(cipher.login.autofillOnPageLoad == null && autofillOnPageLoadDefault));
|
||||||
if (ciphers.length === 0) {
|
if (ciphers.length === 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue