Skip to content

Accept 32-character password reset codes in Research - #1550

Merged
AnthonyRonning merged 1 commit into
masterfrom
feat/reset-code-accept-32
Nov 10, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
feat/reset-code-accept-32

Conversation

@w3irdrobot

@w3irdrobot w3irdrobot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The Research password reset form now accepts reset codes of 8 or 32 uppercase alphanumeric characters (pattern="[A-Z0-9]{8}|[A-Z0-9]{32}").
  • This has to ship before the backend PR that starts issuing 32-character codes. Codes already sent (8 characters) keep working during the rollout.

SDKs

No change needed. The TS (confirmPasswordReset) and Rust (confirm_password_reset) SDKs pass the code through as an opaque string, and the backend only validates min = 1.

Validation

  • bun run format:check, lint, typecheck, test in apps/maple-research/frontend (nix develop .#ci): all pass (1110 tests).
  • Not checked in the running app.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The reset code input only matched 8-character codes. Accept both 8 and
32 characters so the form keeps working with codes already sent and with
the longer codes the backend will issue next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Maple development preview: https://bdf72fe2.maple-ca8.pages.dev

Commit: f7fa8a0388b8613ba0be20d759cee1efd4fd1192

Uses development API, billing, flags and PCR configuration. Cloudflare Access applies.

@AnthonyRonning
AnthonyRonning merged commit 0016b4a into master Nov 10, 2026
22 checks passed
@AnthonyRonning
AnthonyRonning deleted the feat/reset-code-accept-32 branch November 10, 2026 18:26

This branch was successfully deployed

1 active deployment
pages-pr-1550 — f7fa8a03 Deployed Nov 10, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants