async fn finish_resend(
conn: &mut PgConnection,
user: &AuthUser,
course_id: Uuid,
payload: &ResendLinkingEmailPayload,
attempted: Option<(&SecretString, &ResendAttempt)>,
token: AuthorizationToken,
) -> ControllerResult<Json<ResendLinkingEmailResult>>Expand description
Audits the attempt whatever it did, and reports where the person’s linking mail now stands.
attempted is None when no student number was known to try.