• Resolved wjboyz

    (@wjboyz)


    is there a way to enable all user for email 2fa..
    for now i have 500++ user i have to enable one by one.. its very time consuming.
    when new user reguister i need to manually enable it.

Viewing 1 replies (of 1 total)
  • The pluguin has a filter hooc where you can force email on all accouns, add this to your functions.php file:

    // Force email as the only two-factor provider for all users
    add_filter( 'two_factor_enabled_providers_for_user', function( $enabled_providers, $user_id ) {
    return array( 'Two_Factor_Email' );
    }, 10, 2 );
Viewing 1 replies (of 1 total)

The topic ‘Cannot Enable email 2fa as default’ is closed to new replies.