سؤال

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