Hi 👋
I was reading through the tasks.py code and noticed something that might be a bug.
In send_email_to_reset_password, the recipients list is created like this:
recipients = []
recipients.append(user_email)
context["complete_url"] = ...
recipients.append(context["complete_url"]) # <- possible issue?
So the reset URL is also being added to the recipients list, which doesn’t seem correct,
because recipients should only contain email addresses.
Expected behavior:
recipients = [user_email]
But right now, it looks like the reset link is mistakenly added as another recipient.
Could you please check if this is intentional or a bug? 🙏