Configuration Fields
This reference lists the settings exposed by mageb2b/customer-tfa in Magento Admin.
Configuration paths are included for controlled deployments and config:set. Use Magento Admin for normal changes so field validation and scope inheritance still apply. The extension status display is not listed because it reports installation state rather than a configurable value.
Two-Factor Authentication
| Field | Configuration path | Input | Scope |
|---|---|---|---|
| Enable TFA for Customers | customertfa/general/enabled |
Select | Default, Website, Store view |
| Mandatory TFA for Customers | customertfa/general/mandatory |
Select | Default, Website, Store view |
| Disable TFA During Admin Login as Customer | customertfa/general/disable_for_login_as_customer |
Select | Default, Website, Store view |
| Issuer Name | customertfa/general/issuer_name |
Text | Default, Website, Store view |
| Recovery Codes Count | customertfa/general/recovery_codes_count |
Text | Default, Website, Store view |
| Setup Secret Lifetime | customertfa/general/setup_secret_lifetime |
Text | Default, Website, Store view |
| Maximum Verification Attempts | customertfa/general/max_verification_attempts |
Text | Default, Website, Store view |
| Allow Customers to Regenerate Recovery Codes | customertfa/general/allow_recovery_code_regeneration |
Select | Default, Website, Store view |
| Recovery Code Regeneration Authentication | customertfa/general/recovery_code_regeneration_auth |
Select | Default, Website, Store view |
| Allow Customers to Disable TFA | customertfa/general/allow_customer_disable |
Select | Default, Website, Store view |
Visibility dependencies:
customertfa/general/mandatoryis available whencustomertfa/general/enabledis1.customertfa/general/disable_for_login_as_customeris available whencustomertfa/general/enabledis1.customertfa/general/disable_for_login_as_customeris available whencustomertfa/general/mandatoryis1.customertfa/general/issuer_nameis available whencustomertfa/general/enabledis1.customertfa/general/recovery_codes_countis available whencustomertfa/general/enabledis1.customertfa/general/setup_secret_lifetimeis available whencustomertfa/general/enabledis1.customertfa/general/max_verification_attemptsis available whencustomertfa/general/enabledis1.customertfa/general/allow_recovery_code_regenerationis available whencustomertfa/general/enabledis1.customertfa/general/recovery_code_regeneration_authis available whencustomertfa/general/enabledis1.customertfa/general/recovery_code_regeneration_authis available whencustomertfa/general/allow_recovery_code_regenerationis1.customertfa/general/allow_customer_disableis available whencustomertfa/general/enabledis1andcustomertfa/general/mandatoryis0.