Question

Anyone, please help me with how to disable the Two-factor Authentication module using a command-line.

Thanks.

Was it helpful?

Solution

please run below command in terminal Magento root path :

bin/magento module:disable Magento_TwoFactorAuth
bin/magento cache:flush 

OTHER TIPS

Mark Shust created a module for this purpose which is developer-friendly while keeping secure defaults in place; ref his comments about it

I found a way, by adding a system configuration to Enable/Disable it. I made a module, you can download it with composer:

composer require wolfsellers/module-enabledisabletfa

Or check it at: https://github.com/wolfsellers/module-enabledisabletfa

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top