Files
TREK/wiki/Invite-Links.md
T
jubnl c1b9d11173 docs: add full wiki with 74 pages, assets, and CI workflow
Adds the complete TREK documentation wiki covering installation,
trip planning, admin panel, MCP/AI integration, addons, and operations.

Also fixes encrypt-at-rest gaps: mapbox_access_token, Synology
credentials, per-user webhook/ntfy tokens, and photo passphrases
are now rotated by migrate-encryption.ts and stored encrypted via
settingsService.
2026-04-20 10:11:53 +02:00

1.7 KiB
Raw Blame History

Invite Links

Invite new users to register on your TREK instance, even when open registration is disabled. Invite links work by embedding a short-lived token in the registration URL.

Invite Links

An invite link lets a person register a new TREK account without requiring the site to have open registration enabled. Visiting /register?invite=<token> pre-validates the token and switches the page to the Register form. The token's use count is incremented on successful registration, and the link stops working once the use limit is reached.

Admin: invite link management is available in Admin-Users-and-Invites. Only admins can create invite links.

When creating an invite link you set two parameters:

Max uses — how many times the link can be used to register an account. Choose from preset buttons: 1×, 2×, 3×, 4×, 5×, or (unlimited).

Expiry — how long until the link stops working. Choose from preset buttons: 1d, 3d, 7d, 14d, or (no expiry).

Once created, a 32-character hexadecimal token is generated and the URL is automatically copied to your clipboard.

Copy the generated URL and send it directly to the person you want to invite. The link works in any browser without any prior authentication.

Delete the invite from Admin-Users-and-Invites. The token is invalidated immediately and visiting the URL will no longer unlock the Register form.

Login-and-Registration · Admin-Users-and-Invites