User Invitations

Invite users to the app and walk through the account activation flow

Overview

New users are added by an admin from My Organization. When a user is created, an invitation email is sent automatically with a token-based activation link. The invited user clicks the link, sets their name and password, and their account is active.

Tip: On a fresh production install there is no one to send invitations yet. Create the first admin by hand as described in Production Deployment.

Create and invite a user

  1. Go to My Organization in the Organization section of the sidebar.
  2. Click Add User.
  3. Fill in the form:
    • Profile tab: the user's work Email.
    • Employee of record tab: annual leave allowance (pre-filled from App Settings; the starting balance is set to it), absence balance reset day (read-only after the user is created), Manager (establishes the team relationship), contract start date, and working days. To change a balance later, use Adjust balance (see Adjusting a balance).
    • Security tab: Roles: Admin, Manager, or User (see Roles & Permissions).
  4. Click Save.

The invitation email is sent right after saving. Until the user accepts it, their account is inactive: they can't log in and don't appear in the calendar or organization chart.

Create User form showing the profile tab with email field Create a new user from the My Organization page

Invitation email

The invited user receives an email with an activation link containing a unique token. The link stays valid until the user accepts it or an admin resends the invitation.

In local development, emails are caught by Mailpit at http://localhost:8025 — no real emails are sent.

Invitation email in Mailpit showing the activation link Invitation email as seen in Mailpit

Tip: Emails are sent by a background worker. If an invitation never arrives, check that the worker service is running (or, without Docker, the messenger:consume process). See Background workers.

Accept the invitation

When the user clicks the activation link, they're taken to a registration form:

  1. Enter First name and Last name.
  2. Set a Password.
  3. Optionally enter Birth date (used for the birthday section on the dashboard).
  4. Click Activate.

The account is now active and the user can log in.

Account activation form with fields for name, date of birth, and password The account activation form

After activation

Once activated, the user should:

  • Complete their profile in Profile Settings (profile image and other personal details).
  • Add their Slack Member ID under Profile Settings → Connected Services to get personal Slack notifications.
  • Copy the calendar feed URL from Connected Services to see their leave in their calendar app.
  • Turn on 2FA from Security in the Account section of the sidebar.

Resend an invitation or reset a password

Both actions are on the user's detail and edit pages in My Organization:

  • Resend Invitation: shown while the user hasn't accepted their invitation yet. It sends a fresh activation email; the link in the old email stops working.
  • Reset Password: shown for active users (not on your own account). It emails a password reset link that expires after 1 hour.