Pregunta

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

Thanks.

¿Fue útil?

Solución

please run below command in terminal Magento root path :

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

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange
scroll top