• Resolved johnatyandoit

    (@johnatyandoit)


    I have the Geo Blocker installed and configured with a country whitelist, and according to the logs it is blocking foreign login attempts. However I am still getting WordPress notifications that an account is locked. I am using the Theme-my-login plugin, if that is relevant.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi @johnatyandoit,

    However I am still getting WordPress notifications that an account is locked.

    I can’t get your point. Could you describe the steps for anyone to reproduce your issue?

    And I propose you to just enable “Block by country” only for “Login form” and try to deactivate/activate Theme-my-login to clarify the problem.

    I’d appreciate your cooperation to solve the issue.
    Thanks.

    Thread Starter johnatyandoit

    (@johnatyandoit)

    Theme-My-Login makes available a login form at mysitename/login.
    I have disabled the Theme-My-Login plugin to see if that is part of the problem.
    If that doesn’t fix it I’ll post some logs and the configuration. Just bear with me for a bit. Thanks.

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi,

    I just test related to this issue under the following condition:

    – Server: Apache
    – WordPress: 4.8
    – Multisite: no
    – Zlib: yes
    – ZipArchive: yes
    – BC Math: no
    – mb_strcut: yes
    – DNS lookup: available [235.0 msec]
    – Twenty Twelve Child 1.7
    – Twenty Twelve 2.3
    – Akismet Anti-Spam 3.3.2
    – IP Geo Block 3.0.3
    – Optimize Database after Deleting Revisions 4.2.2
    – Theme My Login 6.4.9
    – WP Multibyte Patch 2.8.1

    Regarding to the settings of IP Geo Block, all the features are enabled on back-end and front-end, e.g. all the requests would be blocked by country.

    I registered guest account and received e-mail (do you mean it’s as “notifications”?) then succeeded to activate the account. Everything works fine.

    Thread Starter johnatyandoit

    (@johnatyandoit)

    I was getting WordPress notifications like this:

    “For your security, your account has been locked because of too many failed login attempts. To unlock your account please click the following link:

    https://mysitename.org/login/?action=unlock&key=qwV*****9y2uk&login=admin

    The following attempts resulted in the lock:

    180.191.127.157 2017/06/17 12:42:23 PM
    180.191.127.157 2017/06/17 12:42:25 PM
    36.227.112.160 2017/06/17 1:06:50 PM
    36.227.112.160 2017/06/17 1:06:52 PM
    182.253.163.30 2017/06/17 1:22:56 PM”

    (Those IPs are Philippines, Taiwan and Indonesia, only AU and GR are white-listed). I have a backup administrator account of course. Most of the attempts are on the admin account, but I have had attempts on other accounts. I’ll look at it again tomorrow – it’s late here.
    Thanks for your patience.

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Aha,

    “For your security, your account has been locked because of too many failed login attempts. To unlock your account please click the following link:

    This message came out from Theme-my-login. The same issue can be googled at:

    I guess this is an issue of “Limiting login attempts per user ID“. For example, if there’s many login attempts as “admin”, then the user name “admin” might be locked out. But “Limiting login attempts per IP address” would not cause this issue because the true “admin” has a different IP address from other fake “admin”.

    I think you had better to ask the author of TML to stop this feature.

    Or you had better to configure IP Geo Block to “Block by country” on “Front-end target settings” and specify “Log in“, “Log Out“, “Lost Password“, “Register” and “Reset Password” as the target pages like this:

    Front-end target settings for Theme-my-login

    (Please configure “Response code” and “Redirect URL” or “Response message” as you like.)

    Good luck!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Account locked notifications’ is closed to new replies.