aboutsummaryrefslogtreecommitdiffstats
path: root/test/migrate-grant.test.ts
Commit message (Collapse)AuthorAgeFilesLines
* migrate: grant the registrar the session's own name, not the form'sHEADmasterHEADAdam Soltys3 days1-0/+71
The /migrate action told the names registrar which v3 identity may claim a name, using the `username` field from the submitted form. Any logged-in account could post another user's name and be granted it. Look the name up from the session (/me) instead, and refuse before sweeping or flagging anything when there is no session. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU