Files
matrix-authentication-service/frontend
Quentin Gliech 0161ef0f13 Pre-fill the registration form from an invite link
`/register?token=…` now resolves the invite code server-side and hands what it
was issued for to the form island through a `data-invite` attribute: a pinned
email address is shown as the line announcing where the verification code goes
rather than as an input, a pinned username isn't shown at all, and a
`passwordless` code replaces the password fields with a notice and relabels the
submit button. A code the server refused only reports that, as an error above
the form.

Because a passwordless code is a way to register on its own, the shortcuts
which send the page to the upstream provider or to `/login` when password
registration is disabled are skipped when the link carries one.

The code itself travels back on submission through a hidden field, so a form
which comes back with errors keeps its shape, and so does the redirect the page
sends the user to when the CSRF token has expired.
2026-10-09 19:57:11 +00:00
..
2026-10-06 15:13:57 +00:00
2024-02-09 15:57:11 +01:00
2026-07-06 10:49:27 +02:00
2026-10-05 11:44:30 +00:00
2026-05-12 15:08:24 -05:00