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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user