Opened 15 years ago

Closed 14 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: no UI/UX: no

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

Download all attachments as: .zip

Change History (8)

comment:1 by Russell Keith-Magee, 14 years ago

Triage Stage: UnreviewedAccepted

by cassidy, 14 years ago

Attachment: 11300.diff added

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

comment:2 by cassidy, 14 years ago

Has patch: set
Needs documentation: set

by Rob Hudson, 14 years ago

Attachment: 11300.2.diff added

Updated patch, added docs

comment:3 by Rob Hudson, 14 years ago

Needs documentation: unset

by Rob Hudson, 14 years ago

Attachment: 11300.3.diff added

Updated patch, added docs, now with versionadded

comment:4 by Chris Beaven, 14 years ago

Triage Stage: AcceptedReady for checkin

comment:5 by Malcolm Tredinnick, 14 years ago

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