How to disable Two factor Authentication module in Magento 2.4
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