Вопрос

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

Thanks.

Это было полезно?

Решение

please run below command in terminal Magento root path :

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

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с magento.stackexchange
scroll top