Opened 7 years ago

Closed 6 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 7 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 Rob Hudson 6 years ago.
Updated patch, added docs
11300.3.diff (5.1 KB) - added by Rob Hudson 6 years ago.
Updated patch, added docs, now with versionadded

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by Russell Keith-Magee

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Changed 7 years ago by cassidy

Attachment: 11300.diff added

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

comment:2 Changed 7 years ago by cassidy

Has patch: set
Needs documentation: set

Changed 6 years ago by Rob Hudson

Attachment: 11300.2.diff added

Updated patch, added docs

comment:3 Changed 6 years ago by Rob Hudson

Needs documentation: unset

Changed 6 years ago by Rob Hudson

Attachment: 11300.3.diff added

Updated patch, added docs, now with versionadded

comment:4 Changed 6 years ago by Chris Beaven

Triage Stage: AcceptedReady for checkin

comment:5 Changed 6 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(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