wolfsellers / module-enabledisabletfa
Adds enable disable switch for the Two-factor Authorization
Installs: 111 367
Dependents: 0
Suggesters: 0
Security: 0
Stars: 22
Watchers: 4
Forks: 6
Open Issues: 0
Type:magento2-module
Requires
- magento/module-two-factor-auth: 1.*
This package is auto-updated.
Last update: 2024-05-07 01:00:16 UTC
README
Main Functionalities
Adds enable disable feature switch for the Two-factor Authorization for Magento 2.4
It can be configured in Stores > Configuration > 2FA > General > Enabled
by default is set to no, so the admin can be used.
Change it back in production.
Installation
1. Composer (recommended)
- Install the module composer by running
composer require wolfsellers/module-enabledisabletfa
- Enable the module by running
php bin/magento module:enable WolfSellers_EnableDisableTfa
- Apply database updates by running
php bin/magento setup:upgrade
- Flush the cache by running
php bin/magento cache:flush
2. Download zip (not recommended)
- Download the zip file from github
- Extract the files in
app/code/WolfSellers/EnableDisableTfa/
- Enable the module by running
php bin/magento module:enable WolfSellers_EnableDisableTfa
- Apply database updates by running
php bin/magento setup:upgrade
- Flush the cache by running
php bin/magento cache:flush
Tested
Tested in Magento 2.4.0, versions:
- Community
- Enterprise
- Cloud
Toggling through CLI
php bin/magento config:set twofactorauth/general/enabled 1 # or 0