Version bump; the Unreleased section becomes 1.14.2: 2FA setup-loop fix
(TotpRedirectProvider), twoFactor.provider, totpRedirectTarget/totpAdminPath,
known issue (low deepmerge advisory via payload), what projects with 2FA update.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-28 21:34:09 +01:00
co-authored by Claude Opus 5.5
parent 41065940e8
commit 2cadb425d6
2 changed files with 13 additions and 5 deletions
+12 -4
View File
@@ -8,7 +8,7 @@ versions at once, go through every "Requires project changes" section in order,
version you have. A new release = a new section at the top; we remove the oldest ones only
once there are more than 20.
## Unreleased (after 1.14.1)
## 1.14.2
### Fixed
- **2FA setup loop.** A user without TOTP (every new admin) was sent to `/admin/setup-totp?back=null`, and that page
@@ -22,9 +22,17 @@ once there are more than 20.
to keep the package's (then set `x-pathname` on `/admin` yourself). **`totpRedirectTarget` / `totpAdminPath`** —
the redirect rules as a pure function, for your own provider.
### Requires project changes
- With 2FA on: `pnpm payload generate:importmap` (adds `@intecion/ipal-kit/admin#TotpRedirectProvider`), commit
`importMap.js`, redeploy. **Check:** a new admin lands on `/admin/setup-totp?back=%2Fadmin` and sees the QR code.
### Known issue
- `pnpm audit --prod` reports one **low** advisory: `deepmerge` 4.2.0–4.3.1, prototype poisoning in `mergeObject()`
(GHSA-gcqx-w48m-w2h4), reached through `payload` (`@clocklimited/payload-2fa` → `payload` → `deepmerge`). No patched
version exists yet; nothing to do in projects until Payload or `deepmerge` ships a fix.
### What projects must update
- **Projects with 2FA on:** `pnpm payload generate:importmap` (adds `@intecion/ipal-kit/admin#TotpRedirectProvider`),
commit `importMap.js`, `rm -rf .next`, redeploy on Coolify. **Check:** a new admin lands on
`/admin/setup-totp?back=%2Fadmin` and sees the QR code. Remove an own `x-pathname` rule on `/admin` if one was added
as a workaround.
- Projects without 2FA (`twoFactor: false`): nothing.
## 1.14.1
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@intecion/ipal-kit",
"version": "1.14.1",
"version": "1.14.2",
"description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.",
"license": "MIT",
"repository": {