Viewing 2 replies - 1 through 2 (of 2 total)
  • Guido

    (@guido07111975)

    Same here.

    In my case this plugin comes with the DirectAdmin hosting panel.
    My hostingprovider activated this plugin in all WP installs > but unfortunately this plugin doesn’t count right.

    Guido

    I would suggest whitelisting your IP address as the simplest solution.

    From the example code:

    function my_ip_whitelist($allow, $ip) {
      	return ($ip == 'my-ip') ? true : $allow;
     }
     add_filter('limit_login_whitelist_ip', 'my_ip_whitelist', 10, 2);

    or, as in my case, if you have an array:

    $ips = array("191.0.0.1", "192.0.0.2");
    function my_ip_whitelist($allow, $ip) {
     	return (in_array($ip, $ips) ? true : $allow;
    }
    add_filter('limit_login_whitelist_ip', 'my_ip_whitelist', 10, 2);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[BUG] Refresh = Login Attempt’ is closed to new replies.