Page 1 of 1

Max failed logins drives me MAD,can't login as admin anymore

PostPosted: October 1st, 2011, 8:53 am
by candy
Hi,
Last development, I can't login as admin anymore!

"Max failed logins. Please wait 30 minutes and try again."
Coming back after 30 minutes does NOT change anything and does NOT let me in!

Where do I reset the d* thing please?

I could not find anything in the database, please tell me where do I have to go (WITHOUT admin access as quoted above!) through ftp, phpmyadmin, to reset that weird bahaviour?

Need to set it to "unlimited IPs" please!
It's **** urgent guys!

Thank you!

Re: Max failed logins drives me MAD,can't login as admin any

PostPosted: October 2nd, 2011, 4:01 am
by Cristián Lávaque
Candy, you could try this:

Create the directory/file /wp-content/mu-plugins/s2hacks.php
Code: Select all
<?php
add_action 
("ws_plugin__s2member_before_ip_restrictions_ok""my_function");
function 
my_function ($vars = array ())
{
    
$vars["__refs"]["restriction"] = false/* Do NOT impose restrictions. */
}
?>


I think that'll remove the restriction so you can login and then reset/edit the Unique IP restriction from the Dashboard. WP Admin -> s2Member -> Restriction Options -> Unique IP

I hope it helps.