Skip to content

Account panel: "Forgot password?" links to the reset page nixamp.com already serves - #216

Merged
ralyodio merged 1 commit into
mainfrom
worktree-account-forgot-password
Sep 16, 2026
Merged

ralyodio merged 1 commit into
mainfrom
worktree-account-forgot-password

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Summary

  • The password recovery flow from Add password recovery to BackToSchool sign-in #181 (hashed single-use links, Resend mail, session revocation, /reset-password page) was only reachable from the BackToSchool sign-in. nixamp.com's own account panel showed "that email and password do not match an account" with no way out.
  • Adds a "Forgot password?" ghost link beside "Create one" in the account panel. It hides while creating an account and opens in its own tab inside a classroom embed so the host iframe is not navigated away.
  • Runtime i18n picks the label up through data-i18n, so no catalog change.

Verification

  • bun run typecheck (web) and bun run build (web) pass; built index.html and bundle carry account-forgot.
  • bun test web/test: 106 pass, 0 fail.
  • https://nixamp.com/reset-password already renders with nixamp branding and POST /api/v1/auth/password-reset/request returns 200 on production, so the link lands on a working page as soon as this deploys.

🤖 Generated with Claude Code

… already serves

PR #181 built password recovery (hashed single-use links, Resend mail,
session revocation) and put a "Forgot password?" link on the BackToSchool
sign-in, but nixamp.com's own account panel never linked to it. A member
whose password no longer matched read "that email and password do not
match an account" with nowhere to go, although /reset-password was live
on the same origin.

The link sits next to "Create one", hides while creating an account, and
opens in its own tab inside a classroom embed so the host page's iframe
is not navigated away.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit a1041c7 into main Sep 16, 2026
4 checks passed
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.

1 participant