pub async fn update_email_for_user(
conn: &mut PgConnection,
upstream_id: &i32,
new_email: String,
) -> ModelResult<Uuid>Expand description
Points the account with this upstream id at a new address. The returned local user id lets the caller mail a fresh link.