mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-11-29 03:40:26 +00:00
With a token listing the addresses it allows, `POST /register` refuses any other with an error on the email field, before a code is sent, and the island explains it without naming the listed addresses. One check on the token covers a pinned address and a list, in `POST /register`, the token step and the last checks when finishing. The last two read the token as it stands then, so a list replaced while a registration is under way applies to it. `invite-emails` sends a listed token only to an address on its list. A passwordless token with a list skips the registration rate limit, as one with a pinned email does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqDpJaaUkGGq5GiEbU9G3f Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqDpJYpWHZUTqexCFxqUAq