1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}