From 6fbe33043b4994b1f01022b62c19aa10227f56b2 Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Thu, 27 May 2021 07:02:12 +1000 Subject: [PATCH] [Autofill on Page Load options] Make logins autofill on page load by default (#391) * Make logins autofill on page load by default * fix linting --- src/services/cipher.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/cipher.service.ts b/src/services/cipher.service.ts index eceb8556b87..6fee279de1a 100644 --- a/src/services/cipher.service.ts +++ b/src/services/cipher.service.ts @@ -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; }