mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-11-28 10:19:49 +00:00
A registration token can now carry the username and the email address the account registered with it has to use. The admin API takes both when creating a token and reports them on every token it returns, and `manage issue-user-registration-token` takes `--username` and `--email`. The admin API checks the pins when a token is created, so that it doesn't mint a token nobody can register with: a pinned email must parse, both must pass the registration policy, and a pinned username must not be taken already. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqDpJaaUkGGq5GiEbU9G3f