Skip to main content

send_invitation

Function send_invitation 

Source
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.