1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Do not autofill inputs meant for password recovery (#1999)

Fixes issue #1956
This commit is contained in:
gabrielfin
2021-10-25 03:16:01 -03:00
committed by GitHub
parent b3b988a8af
commit 2228ffac47

View File

@@ -958,7 +958,7 @@ export default class AutofillService implements AutofillServiceInterface {
return false;
}
const ignoreList = ['onetimepassword', 'captcha', 'findanything'];
const ignoreList = ['onetimepassword', 'captcha', 'findanything', 'forgot'];
if (ignoreList.some(i => cleanedValue.indexOf(i) > -1)) {
return false;
}