[PM-8833] Reworking how we handle identifying current password fields within an update form
This commit is contained in:
parent
9d3c166f1a
commit
5db1349716
|
@ -146,8 +146,7 @@ export class InlineMenuFieldQualificationService
|
|||
return this.isFieldForLoginFormFallback(field);
|
||||
}
|
||||
|
||||
const isTotpField = this.isTotpField(field);
|
||||
if (isTotpField) {
|
||||
if (this.isTotpField(field)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -230,7 +229,10 @@ export class InlineMenuFieldQualificationService
|
|||
* @param pageDetails - The details of the page that the field is on.
|
||||
*/
|
||||
isFieldForAccountCreationForm(field: AutofillField, pageDetails: AutofillPageDetails): boolean {
|
||||
if (this.isExcludedFieldType(field, this.excludedAutofillFieldTypesSet)) {
|
||||
if (
|
||||
this.isExcludedFieldType(field, this.excludedAutofillFieldTypesSet) ||
|
||||
this.isTotpField(field)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue