跳到内容

CodingCush Login Guard

v1.0.0

codingcush · 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日
需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

贡献者

截图

Overview: failed logins, lockouts, the activity log and one-click unlock.
Overview: failed logins, lockouts, the activity log and one-click unlock.
Login limits with a plain-language summary of what the settings do.
Login limits with a plain-language summary of what the settings do.
IP rules: pick the IP source your server really uses, plus allow and block lists.
IP rules: pick the IP source your server really uses, plus allow and block lists.
Cloudflare Turnstile: add your keys and choose which forms to protect (login, registration, lost password, WooCommerce).
Cloudflare Turnstile: add your keys and choose which forms to protect (login, registration, lost password, WooCommerce).
The lockout message with the email unlock link on the login screen.
The lockout message with the email unlock link on the login screen.

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/siteverify to 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums