pub async fn send_invitation<Repo: Repository>(
repo: &Repo,
config: &ServerConfig,
tenant: &TenantId,
user: &User,
)Expand description
Emails a new user a link to accept or decline. Failures are only logged: the user can still accept by logging in.