PHP code example of wolfsellers / module-enabledisabletfa

1. Go to this page and download the library: Download wolfsellers/module-enabledisabletfa library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wolfsellers / module-enabledisabletfa example snippets

sh
php bin/magento config:set twofactorauth/general/enabled 1 # or 0