• Resolved tmckee

    (@tmckee)


    I like this plugin for our Administrators. The problem is, I’d like it to be automatically enabled for administrators upon activation. The reason for this is that we have over 100 sites and use MainWP. We’d like to install it from MainWP (which we can already do) and upon activation, enable the 2FA for all Administrators automatically. It would take us months to do this manually. We would also like to have a notification to another email address (our ticketing system) if anyone Disable this feature.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author SS88 LLC

    (@ss88_uk)

    ???? Hi @tmckee,

    Thanks for reaching out!

    By default this plugin does not enable the 2FA functionality for obvious security reasons. Although we can add the functionality to enable 2FA for new administrators in the future, this would end up having to be turned on on a per-website basis (thus taking you months to accomplish).

    Unless Main WP (or something similar) has a feature to add user metadata or custom data to the wp-config.php file at the click-of-a-button (i.e. Main WP does the heavy lifting), it’s not going to be easy to automatically enable this for all users across the board, nor force new administrators to login via 2FA.

    I will add the feature that a notification be sent if this plugin is disabled to our internal system however, as stated above, unless you have a tool perform actions on a global scale, even this feature will have to be enabled on a per-website basis.

    I’m happy to integrate features at a wp-config.php level for this plugin, i.e. you could set something like the below in the config file and then my plugin (once the feature is created) will enable 2FA for all new administrators:

    define('SS882FA_ENABLE_NEW_ADMINISTRATORS', true);

    You just need to find a way how to get something like that into every single wp-config.php file!

    Please let me know if you have any further questions!

    Sully.

    • This reply was modified 11 months, 4 weeks ago by SS88 LLC.
    Plugin Author SS88 LLC

    (@ss88_uk)

    Closing due to inactivity. Feel free to re-open if help is still needed! ??

    Plugin Author SS88 LLC

    (@ss88_uk)

    //Closed

    Plugin Author SS88 LLC

    (@ss88_uk)

    Hi @tmckee,

    Version 1.6 has just been released ?? with a few features you inquired about.

    You can now enable 2FA for all accounts, all administrator accounts, or all editor accounts by adding some simple code to your wp-config.php file.

    To enable for all administrator accounts, simply add the following to your wp-config.php file:

    define('SS88_2FAVE_ENABLE_ADMINS', true);

    There is also a new feature which allows the site admin to receive an email when this plugin is disabled. You can override the site admin email to a custom email by adding the following to your wp-config.php file:

    define('SS88_2FAVE_NOTIFICATION_EMAIL', '[email protected]');

    Simply change [email protected] to your preferred email address.

    Let me know if you have any questions!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Enable on All Admins upon activation.’ is closed to new replies.