aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/+layout.server.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-12-02 10:34:36 -0700
committerAdam Soltys <[email protected]>2026-12-02 10:34:36 -0700
commit374afce1c93e25373eadce258edaa0398fb99faf (patch)
treea53eeff7db40f876b7cc55e57b50ebd4d334abb2 /src/routes/+layout.server.js
parentd707d2c696184b5ad90132cb0a4b5673d15d6644 (diff)
downloadcoinos-ui-374afce1c93e25373eadce258edaa0398fb99faf.tar.gz
coinos-ui-374afce1c93e25373eadce258edaa0398fb99faf.zip
migrate: grant the registrar the session's own name, not the form'sHEADmasterHEAD
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
Diffstat (limited to 'src/routes/+layout.server.js')
0 files changed, 0 insertions, 0 deletions