| 开发者 | shadowsplitter |
|---|---|
| 更新时间 | 2026年10月14日 05:57 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
define( 'LOCKANDKEY_DISABLE_KEY_ONLY', true ); to wp-config.php allows passwords again.
Lock and Key Pro
Lock and Key Pro is a separate plugin that adds monitoring: a login activity log (logins, failed logins and security key changes, with IP address and browser), IP address blocking, email alerts for administrators and for each user about their own account, and WooCommerce support.
Privacy
Lock and Key doesn't contact any external service. Registered keys (a public key, a key ID, the name the user gave it, and when it was created and last used) are stored in your own WordPress database.
Any FIDO2 or U2F hardware key: Ledger (open the FIDO U2F / Security Key app), YubiKey, Google Titan, Feitian, SoloKeys and others.
Any role you enable on Settings → Lock and Key. Administrators are always enabled.
Yes. On Settings → Lock and Key, tick Security key only for a role. Once a user in that role has registered a key, password attempts show "Use security key only for access" and are refused.
An admin opens the user's profile and removes the lost key under Security Keys. If that was their last key, their password works again and they can register a new one. Encourage everyone to register a backup key.
Add define( 'LOCKANDKEY_DISABLE_KEY_ONLY', true ); to wp-config.php. Passwords then work again. Remove the line once you've sorted out your keys.
They're kept, along with your settings, so nothing is lost when you reinstall. To remove everything when deleting the plugin, tick Delete all registered security keys and settings when the plugin is deleted in the plugin's settings first.
Yes. Choose your proxy under Settings → Lock and Key → Visitor IP Addresses. Otherwise every visitor appears to come from the proxy's address, so the failed-login limit would apply to everyone at once. The proxy's header is only believed when the request really comes from the proxy (Cloudflare's address ranges are built in), so visitors can't fake their address.
No. Application passwords (used by apps and the REST API) are managed separately under each user's profile.