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:
parent
b3b988a8af
commit
2228ffac47
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user