Opened 6 years ago

Closed 5 years ago

#11300 closed (fixed)

No way of customizing from email for password resets

Reported by: Richard Davies <richard.davies@…> Owned by: nobody
Component: contrib.auth Version: 1.0
Severity: Keywords:
Cc: richard.davies@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I'd like contrib.auth.forms.PasswordResetForm.save() and contrib.auth.views.password_reset() to both take an optional argument 'from_email', just like contrib.auth.models.User.email_user() already does.

Attachments (3)

11300.diff (3.7 KB) - added by cassidy 5 years ago.
Added from_email parameter to SetPasswordForm() and password_reset view. Wrote new test case for from_email.
11300.2.diff (5.1 KB) - added by robhudson 5 years ago.
Updated patch, added docs
11300.3.diff (5.1 KB) - added by robhudson 5 years ago.
Updated patch, added docs, now with versionadded

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 5 years ago by cassidy

Added from_email parameter to SetPasswordForm() and password_reset view. Wrote new test case for from_email.

comment:2 Changed 5 years ago by cassidy

  • Has patch set
  • Needs documentation set

Changed 5 years ago by robhudson

Updated patch, added docs

comment:3 Changed 5 years ago by robhudson

  • Needs documentation unset

Changed 5 years ago by robhudson

Updated patch, added docs, now with versionadded

comment:4 Changed 5 years ago by SmileyChris

  • Triage Stage changed from Accepted to Ready for checkin

comment:5 Changed 5 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [13817]) Permit custom from-email address in auth forms email.

Patch from cassidy and Rob Hudson. Fixed #11300.

Note: See TracTickets for help on using tickets.
Back to Top