Hello @dtwx,
You can take advantage of the Two-Factor Authentication feature for additional user roles by adding the following code to the functions.php file of your active theme:
add_filter( 'sg_security_2fa_roles', 'add_user_roles_to_2fa' );
function add_user_roles_to_2fa( $roles ) {
$roles[] = 'your_role';
return $roles;
}
Make sure to substitute your_role
with the actual role name.
As for manually unblocking IP addresses – you are able to do that from your website’s Dashboard -> Security Optimizer > Activity Log -> Blocked. Next to the blocked IP addresses, there should be an Unblock button.
Best Regards,
Daniela Ivanova
This would be a great addition to the plugin to select users for the 2FA
Thread Starter
dtwx
(@dtwx)
@daniellaivanova – is there a list of all the filters somewhere? I don’t want to make a post in support if the thing I need is already supported!
Hello @dtwx,
A full list of the custom filters for the plugin can be located in the link bellow:
https://eu.siteground.com/tutorials/wordpress/security-optimizer/custom-filters/
Best Regards,
Gergana Petrova