mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
Do not autofill inputs meant for password recovery (#1999)
Fixes issue #1956
This commit is contained in:
@@ -958,7 +958,7 @@ export default class AutofillService implements AutofillServiceInterface {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ignoreList = ['onetimepassword', 'captcha', 'findanything'];
|
const ignoreList = ['onetimepassword', 'captcha', 'findanything', 'forgot'];
|
||||||
if (ignoreList.some(i => cleanedValue.indexOf(i) > -1)) {
|
if (ignoreList.some(i => cleanedValue.indexOf(i) > -1)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user