Open dsernst opened 2 months ago
Don't have their email yet at time-of-submission, so can't send it in /submit-vote.
/submit-vote
Good solution would be to add it to the verification-email that gets sent out after they fill out the next auth page:
https://github.com/siv-org/siv/blob/0299cea59dcd6c5bbdba43b1503fae0a1eb0029f/pages/api/election/%5Belection_id%5D/submit-link-auth-info.ts
Actually would be better not to put encrypted-vote-receipt on the Verification Email, which would make that a bit more confusing, and instead only after they click the "Confirm it was me" button in that email.
Don't have their email yet at time-of-submission, so can't send it in
/submit-vote
.Good solution would be to add it to the verification-email that gets sent out after they fill out the next auth page:
https://github.com/siv-org/siv/blob/0299cea59dcd6c5bbdba43b1503fae0a1eb0029f/pages/api/election/%5Belection_id%5D/submit-link-auth-info.ts