• Resolved Blucube

    (@edhicks)


    Hi,

    In settings, the field for specifying the number of lockouts after which a notification email should be sent doesn’t seem to be saving properly – it stays as the default 2.

    Thanks, Ed

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

    (@wpchefgadget)

    Try to turn off a caching plugin that you probably have installed and then update that setting. Also try to update it from another browser or from an anonymous tab of the browser. The issue is related to caching at some level of your setup.

    Thread Starter Blucube

    (@edhicks)

    I think it’s probably more likely this:

    core/LimitLoginAttempts.php:848
    if ( $this->get_option('notify_email_after') > $this->get_option( 'allowed_lockouts' ) )
    $this->update_option( 'notify_email_after', $this->get_option( 'allowed_lockouts' ) );

    I was trying to set it to notify me after 5 lockouts, while “N lockouts increase lockout time to…” was set at 2. Think I’ve answered my own question there, although it’s not immediately obvious why notify_email_after can’t be > allowed_lockouts?

    Plugin Author WPChef

    (@wpchefgadget)

    You are correct. These two settings are connected. See the screenshot. The first value can’t be higher than the second one because after the specified number of lockouts happens, the IP gets blocked for 24 hours, and then all its attempts get reset. If ‘notify_email_after’ were higher than 4, the notification would never get sent out.

    Thread Starter Blucube

    (@edhicks)

    Got it – that makes sense. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Option to notify after n lockouts not saving?’ is closed to new replies.