• I have seen others have this issue and now I have it.

    When I click logout after being logged into as a user, I get the “You are temporarily locked out” message.

    Yes, I can see IP’s in IP detection.

    I’m thinking this has to do with the login URL being changed as I’m using a plugin that changes the standard WordPress login link. I’m using “WPS Hide Login” plugin and I also have this in the theme functions as well, which redirects the registration link:

    add_action( ‘login_init’, ‘user_registration_login_init’ );
    function user_registration_login_init () {
    if( ! is_user_logged_in() ) {
    wp_redirect( ‘/my-account’ );
    exit;
    }
    }

    Any way for this to work with that code above and using a plugin to change the standard login url?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mikegro1

    (@mikegro1)

    Another note… it actually doesn’t lock the person out either… they can go back into their account and such. The reason I want to fix this as it looks bad to the user.

    My end goal is to keep and have Wordfence working but let users logout properly and also have it so my login and registration links are not the standard WordPress URL.

    Hey @mikegro1,

    It does sound like it may be conflicting. If you disable WPS Hide Login and comment out the custom code, does it resolve the issue?

    Also, this is a security through obscurity technique that isn’t very effective. Below is a video with our CEO sharing his thoughts on the subject.

    https://www.wordfence.com/blog/2017/10/should-you-hide-wordpress-login-page/

    Thanks,

    Gerroald

    • This reply was modified 5 years, 4 months ago by WFGerroald.

    Hi! Same error here. But I get locked out even myself. I removed your plugin to be able to enter my admin, this was the only option. I deactivated wps hide login, reactivated your plugin, same error. It’s crazy for a fews days now. If I hit logout from my account it locks me out. My clients as well.

    I go to the message: If you are a WordPress user with administrative privileges on this site please enter your email in the box below and click “Send”. You will then receive an email that helps you regain access. I put my email there and I get another error: it redirects me to a 404 page with the message: no such page here. No email to unlock myself either.

    Could you, maybe, fix it?

    Thank you!

    Thread Starter mikegro1

    (@mikegro1)

    yes, even when I deactivated the plugin and took out redirection code it messed up still. The strange thing is it doesn’t do it every time. And it seems to clear up after awhile.

    One other note… I do have the site on cloudflare and also using WP Rocket and AutoOptimize plugins.

    Plugin Support wfscott

    (@wfscott)

    @mikegro1

    If it is doing it with the custom code commented out and the other plugins disabled, it sounds like it could possibly be serving a cached page. I would try flushing and disabling the cache temporarily and see if that reduces the frequency.

    Also, be sure to double check the IP detection in Wordfence > All Options > General Wordfence Options in How Does Wordfence Get IPs. Make sure the IP is yours that you’re seeing in the IPs Detected and Your IP with this setting. (https://www.whatsmyip.org/)

    Let me know if you have any questions.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Temporarily Locked out Message’ is closed to new replies.