mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-09 09:51:02 +01:00
[Autofill on Page Load options] Make logins autofill on page load by default (#391)
* Make logins autofill on page load by default * fix linting
This commit is contained in:
parent
324e0909bc
commit
6fbe33043b
@ -1106,7 +1106,7 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
if (autofillOnPageLoad) {
|
||||
const autofillOnPageLoadDefault = await this.storageService.get(ConstantsService.autoFillOnPageLoadDefaultKey);
|
||||
ciphers = ciphers.filter(cipher => cipher.login.autofillOnPageLoad ||
|
||||
(cipher.login.autofillOnPageLoad == null && autofillOnPageLoadDefault));
|
||||
(cipher.login.autofillOnPageLoad == null && autofillOnPageLoadDefault !== false));
|
||||
if (ciphers.length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user