Skip to content

Make sure the passed email is the email_to - #3286

Merged
DaleMcGrew merged 1 commit into
wevote:developfrom
mjacquot1:wv_4734_ensure_email_to_is_typed_in_email
Sep 12, 2026
Merged

DaleMcGrew merged 1 commit into
wevote:developfrom
mjacquot1:wv_4734_ensure_email_to_is_typed_in_email

Conversation

@mjacquot1

Copy link
Copy Markdown
Contributor

Problem: Regardless of the valid email passed into the form it will send the reset email to the primary account email.

Solution: Pull the value from the form and make sure that it is passed into the send_mail() function

Testing:
Testing is tricky because of how much of it is using django abstracted auth classes. I can confirm through debugpy that this function is called. when the send reset email is sent. I'm fairly confident that it is pull the email value form the form. But this will need to be verified in Prod.

@DaleMcGrew

Copy link
Copy Markdown
Member

Thank you @mjacquot1! 👍

@DaleMcGrew
DaleMcGrew merged commit fc24071 into wevote:develop Sep 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants