v1.3.0
This commit is contained in:
parent
17078a91bd
commit
8e9c6bc472
1 changed files with 668 additions and 105 deletions
42
readme.txt
42
readme.txt
|
|
@ -4,7 +4,7 @@ Tags: security, two-factor authentication, login, otp
|
|||
Requires at least: 6.4
|
||||
Tested up to: 7.0
|
||||
Requires PHP: 8.0
|
||||
Stable tag: 1.2.1
|
||||
Stable tag: 1.3.0
|
||||
License: GPLv3 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
|
@ -59,6 +59,27 @@ Yes. Activate the plugin at the network level. Network administrators can set an
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 1.3.0 =
|
||||
|
||||
_Release date: 2026-06-05_
|
||||
|
||||
**Security**
|
||||
|
||||
* TOTP codes are now protected against replay attacks within the same 30-second time window. An accepted counter step is recorded in a transient for 90 seconds; a second submission of the same code is rejected.
|
||||
* The login username is no longer exposed in the `robotstxt-2fa-login` URL query parameter during the verification stage. It is replaced by an opaque 32-character token that resolves to the user server-side. All redirect URLs, hidden form fields, and method-switch links use this token.
|
||||
|
||||
**Added**
|
||||
|
||||
* WP-CLI command family registered as `wp 2fa`:
|
||||
* `wp 2fa status <user_id>` — show 2FA configuration for a user.
|
||||
* `wp 2fa enable <user_id> [--method=<method>]` — enable 2FA, optionally specifying the active method.
|
||||
* `wp 2fa disable <user_id>` — disable 2FA while preserving stored secrets and codes.
|
||||
* `wp 2fa reset-recovery <user_id>` — regenerate recovery codes and display them once.
|
||||
* `wp 2fa list [--role=<role>] [--without-2fa] [--format=<format>]` — list users and 2FA status.
|
||||
* `wp 2fa force-setup [<user_id>] [--role=<role>] [--method=<method>]` — enforce 2FA for a user or role.
|
||||
* `wp 2fa bypass <user_id> [--days=<n>]` — grant a temporary bypass for a locked-out user.
|
||||
* WP-CLI commands are only loaded when the `WP_CLI` constant is defined and truthy.
|
||||
|
||||
= 1.2.1 =
|
||||
|
||||
_Release date: 2026-06-05_
|
||||
|
|
@ -86,25 +107,6 @@ _Release date: 2026-06-05_
|
|||
* "Regenerate codes" button on the profile when recovery codes are active.
|
||||
* Top-up mode for recovery codes: generates only the missing codes to refill the batch.
|
||||
|
||||
= 1.0.0 =
|
||||
|
||||
_Release date: 2026-06-05_
|
||||
|
||||
**Fixed**
|
||||
|
||||
* Enable 2FA checkbox now defaults to email method on first activation.
|
||||
* QR code now renders correctly (data URI was stripped by esc_url).
|
||||
* Resend link shows a 60-second live countdown to prevent email flooding.
|
||||
|
||||
**Changed**
|
||||
|
||||
* Recovery codes section redesigned — plain list, no green notice box.
|
||||
* 2FA login links now a vertical list instead of inline bullets.
|
||||
|
||||
**Removed**
|
||||
|
||||
* Redundant "Generate new secret" button from OTP section.
|
||||
|
||||
= Previous versions =
|
||||
|
||||
For the full changelog see the [changelog.txt](https://git.robotstxt.es/ROBOTSTXT/robotstxt-2fa/raw/branch/main/changelog.txt) file.
|
||||
|
|
|
|||
Loading…
Reference in a new issue