Skip to content

Commit 640ff3f

Browse files
committed
chore(spec): regenerate artifacts for the revokeSessionsOnPasswordReset retirement
Claude-Session: https://claude.ai/code/session_01WGufzgjTaf6BB6T3vxdisU Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0f9dab0 commit 640ff3f

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎content/docs/references/system/auth-config.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ OIDC / Generic OAuth2 provider configuration for enterprise SSO
155155
| **maxPasswordLength** | `number` | optional | Maximum password length (default 128) |
156156
| **resetPasswordTokenExpiresIn** | `number` | optional | Reset-password token TTL in seconds (default 3600) (unit per better-auth `emailAndPassword.resetPasswordTokenExpiresIn`) |
157157
| **autoSignIn** | `boolean` | optional | Auto sign-in after sign-up (default true) |
158-
| **revokeSessionsOnPasswordReset** | `boolean` | optional | Revoke all other sessions on password reset |
158+
| **revokeSessionsOnPasswordReset** | `never` | optional | [REMOVED] `emailAndPassword.revokeSessionsOnPasswordReset` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — it could hold only one value: a completed password reset always ends every session the account holds, on every reset door, and no setting turns that off. Delete the key; nothing replaces it. |
159159

160160
### Nested Shape: `AuthConfig.emailVerification`
161161

@@ -252,7 +252,7 @@ Email and password authentication options forwarded to better-auth
252252
| **maxPasswordLength** | `number` | optional | Maximum password length (default 128) |
253253
| **resetPasswordTokenExpiresIn** | `number` | optional | Reset-password token TTL in seconds (default 3600) (unit per better-auth `emailAndPassword.resetPasswordTokenExpiresIn`) |
254254
| **autoSignIn** | `boolean` | optional | Auto sign-in after sign-up (default true) |
255-
| **revokeSessionsOnPasswordReset** | `boolean` | optional | Revoke all other sessions on password reset |
255+
| **revokeSessionsOnPasswordReset** | `never` | optional | [REMOVED] `emailAndPassword.revokeSessionsOnPasswordReset` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — it could hold only one value: a completed password reset always ends every session the account holds, on every reset door, and no setting turns that off. Delete the key; nothing replaces it. |
256256

257257

258258
---

‎packages/spec/api-surface/system.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@
556556
"QueueConfigSchema (const)",
557557
"QuotaEnforcementResult (type)",
558558
"QuotaEnforcementResultSchema (const)",
559+
"REVOKE_SESSIONS_ON_PASSWORD_RESET_RETIRED (const)",
559560
"RPO (type)",
560561
"RPOParsed (type)",
561562
"RPOSchema (const)",

‎packages/spec/authorable-surface/system.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375
"system/EmailAndPasswordConfig:minPasswordLength",
376376
"system/EmailAndPasswordConfig:requireEmailVerification",
377377
"system/EmailAndPasswordConfig:resetPasswordTokenExpiresIn",
378-
"system/EmailAndPasswordConfig:revokeSessionsOnPasswordReset",
378+
"system/EmailAndPasswordConfig:revokeSessionsOnPasswordReset [RETIRED]",
379379
"system/EmailServiceConfig:apiKey",
380380
"system/EmailServiceConfig:appName",
381381
"system/EmailServiceConfig:defaultFrom",

‎packages/spec/export-origins/system.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@
534534
"QueueConfigSchema": "src/system/worker.zod.ts#QueueConfigSchema (const)",
535535
"QuotaEnforcementResult": "src/system/tenant.zod.ts#QuotaEnforcementResult (type)",
536536
"QuotaEnforcementResultSchema": "src/system/tenant.zod.ts#QuotaEnforcementResultSchema (const)",
537+
"REVOKE_SESSIONS_ON_PASSWORD_RESET_RETIRED": "src/system/auth-config.zod.ts#REVOKE_SESSIONS_ON_PASSWORD_RESET_RETIRED (const)",
537538
"RPO": "src/system/disaster-recovery.zod.ts#RPO (type)",
538539
"RPOParsed": "src/system/disaster-recovery.zod.ts#RPOParsed (type)",
539540
"RPOSchema": "src/system/disaster-recovery.zod.ts#RPOSchema (const)",

0 commit comments

Comments
 (0)