
CodingCush Login Guard
v1.0.0codingcush · 2026年11月15日 上架
Stop brute-force logins without locking yourself out: login attempt limits, IP allow and block lists, Cloudflare Turnstile and an email unlock link.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 135
- 最近更新
- 2026年11月16日
贡献者
截图





CodingCush Login Guard protects your WordPress login from password-guessing bots, and makes sure you can always get back in.
Failed logins are counted per IP address. When an address reaches the limit it is locked out for a while, and addresses that keep coming back get a long lockout. If you lock yourself out, the login screen offers an “Email me an unlock link” option: administrators receive a one-time link that lifts the lockout for their device.
Features
- Login attempt limits – choose how many failed attempts are allowed, how long a lockout lasts, and when repeat offenders get a long lockout.
- Attempts remaining – optionally show “2 attempts remaining.” under the login error.
- Email unlock link – a locked-out administrator can request a one-time link (valid for 15 minutes). It only lifts the lockout; the password is still required.
- IP allow list and block list – single addresses or CIDR ranges, IPv4 and IPv6. Your own address can never be saved to the block list.
- Correct visitor IP behind proxies – choose direct connection, Cloudflare, X-Forwarded-For or X-Real-IP. The screen shows which headers your server actually sends.
- Cloudflare Turnstile – a free, privacy-friendly CAPTCHA alternative on the login, registration and lost-password forms, and on the WooCommerce My Account forms. Off until you add your own keys.
- Activity log – every failed login, lockout, unlock and Turnstile failure, with filters and search, plus the usernames attackers try most.
- One-click unlock – unlock a single address or every lockout from the Overview screen.
- Lockout emails – get an email for every lockout, only for long lockouts, or never.
- Settings import – copies settings, allow lists and block lists from Limit Login Attempts or Limit Login Attempts Reloaded if they are installed.
- Works with XML-RPC, application passwords and WooCommerce – every login path goes through the same limits.
Lightweight
- Lockout state is kept in transients, so a normal page view does no extra database work.
- The admin CSS and JavaScript load only on the plugin’s own settings screen.
- The Turnstile script loads only on the forms you protect, and only after you add your keys.
- Uninstalling removes the settings, the log table and every lockout.
External services
This plugin can connect to Cloudflare Turnstile, a service that checks whether a form is being submitted by a person or a bot. It is used only if you enter a Turnstile site key and secret key in Settings Login Guard Turnstile; until then nothing is sent to Cloudflare.
When Turnstile is on:
- The protected forms (the ones you choose: login, registration, lost password and WooCommerce My Account) load Cloudflare’s widget script from
https://challenges.cloudflare.com/turnstile/v0/api.js. The widget runs in the visitor’s browser and Cloudflare receives the usual browser data needed to run the check. - When one of those forms is submitted, the plugin sends the widget’s response token, your secret key and the visitor’s IP address to
https://challenges.cloudflare.com/turnstile/v0/siteverifyto confirm the check passed.
The service is provided by Cloudflare, Inc. Terms of service · Privacy policy · Turnstile privacy addendum.
No other external requests are made. The plugin has no tracking and does not contact CodingCush.