CHANGELOG 1.16.4: the verify limit counts every try; lockout from a sibling subdomain
CI / check (push) Failing after 5m29s
CI / reference (push) Skipped
CI / reference-full (push) Skipped

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-24 09:36:54 +01:00
co-authored by Claude Opus 5.5
parent d722157e20
commit 39309c5c1c
+4 -3
View File
@@ -38,8 +38,8 @@ once there are more than 20.
collection on Postgres or SQLite** (MongoDB ids do not repeat across collections). ipalKit now guards every
endpoint the package registers; reset and remove also need the second factor
([security.md](./security.md) "The 2FA package's endpoints").
- **Guessing the 2FA code is now limited.** The package never counted verify attempts. Now at most 5 wrong codes
per account in 10 minutes (`twoFactor.verifyLimit`); further tries get `429`. The counter lives in each server
- **Guessing the 2FA code is now limited.** The package never counted verify attempts. Now at most 5 tries
per account in 10 minutes, right or wrong (`twoFactor.verifyLimit`); further tries get `429`. The counter lives in each server
instance's memory and resets when the app restarts or redeploys.
- **Every collection and global is covered, whatever its name** — Payload's own (`payload-preferences`,
`payload-jobs`, …), a plugin's `payload-…` collection, the job queue's `run / queue / cancel` rules.
@@ -130,7 +130,8 @@ once there are more than 20.
creating an account, and check the `ipal-doctor --url` count.
- **The verify limit** is per server instance and in memory. A restart or redeploy resets it. Whoever already holds
a staff password can keep trying slowly (about 720 tries a day), or lock the owner out of entering the code for
10 minutes at a time.
10 minutes at a time. A hostile page on a sibling subdomain of the site can cause that lockout without the
password, while the owner is logged in to the panel.
- **Accounts of an extra staff collection** (`access.staffCollections`) are not covered by 2FA. The log warns at
start.
- **Dashboard alert widgets** (Integration alerts, Cookie crawl alert) show integration error text to every panel