This commit is contained in:
Javier Casares 2026-06-08 11:13:10 +00:00
commit 38520b2ba7

View file

@ -1,5 +1,34 @@
== Changelog ==
= 1.5.2 =
_Release date: 2026-06-06_
**Added**
* OTP import tool (2FA > Import) — import authenticator secrets from third-party 2FA plugins without requiring users to reconfigure their app:
* Two Factor (community) — plain Base32 from `_two_factor_totp_key` user meta.
* WP 2FA (Melapress) — plain or encrypted Base32 from `wp_2fa_totp_key` user meta; decrypted if WP 2FA is active.
* Wordfence Login Security — raw binary from `wfls_2fa_secrets` table, Base32-encoded on import.
* Admin notice banner when importable secrets are detected; dismissible per-admin for 7 days or permanently via Import page preference.
* Import correctly skips users who already have OTP actively configured in our plugin; only imports for users who have not yet activated OTP here.
**Fixed**
* Deactivating the Authenticator App method from the profile no longer pre-generates a new OTP secret immediately. The secret is deleted cleanly and a fresh QR code is generated lazily the next time the user views their profile. This ensures the import tool can correctly detect these users as candidates.
**Compatibility**
* WordPress: 6.4 – 7.1
* PHP: 8.0 – 8.5
**Tests**
* PHP Coding Standards: PHP_CodeSniffer 3.13.5 / WPCS 3.3.0
* PHPStan: level 9 — 0 errors
* PHPCompatibility: 8.0–8.5 — 0 issues
* PHPUnit: 9.6.34 — 42 tests, 109 assertions
= 1.5.1 =
_Release date: 2026-06-06_