pub async fn issue_link(
state: &AppState,
address: &str,
next: &str,
audit: Option<AuditLink<'_>>,
) -> Result<LinkOutcome, AppError>Expand description
Stores a magic-link token for address and emails the link. With an audit, the link also
carries the audit’s crawl id, and using it attaches the audited site to the account. Those
links are capped per audit and per recipient (see quick::create_unlock_token).