two-factor icon indicating copy to clipboard operation
two-factor copied to clipboard

Conflict with All-in-one security multisite

Open AlanJIsaacson opened this issue 6 years ago • 1 comments

We have installed and are very happy with the plugin, but have found that its login action priority conflicts with the Wordpress All-In-One security plugin as they both have a priority of 10.

This means we get stuck in an infinite loop of trying to login.

Is it possible to update the line add_action( 'wp_login', array( CLASS, 'wp_login' ), 10, 2 ); to be add_action( 'wp_login', array( CLASS, 'wp_login' ), 15, 2 );

Further details https://wordpress.org/support/topic/unable-to-access-console-when-session-expired/

Many thanks in advance

Alan

AlanJIsaacson avatar Jul 16 '19 13:07 AlanJIsaacson

Thanks for the suggestion @AlanJIsaacson!

I think we could increase the priority of the wp_login hook since we are actually stopping all further execution during the same default priority 10 and some hooks might not even fire. There should be no harm in bumping it to a larger value.

kasparsd avatar Jul 16 '19 13:07 kasparsd