Code

Opened 4 years ago

Closed 4 years ago

#13847 closed (invalid)

PasswordResetForm sends emails using "webmaster@localhost"

Reported by: Ciantic Owned by: nobody
Component: contrib.auth Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

django.contrib.auth.forms.PasswordResetForm.save() function uses None as a from email address, and seems to default to "webmaster@localhost" on my computer.

Instead it should use the same address as others, the one defined in settings.SERVER_EMAIL

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by Ciantic

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Found out that there is another setting called:

settings.DEFAULT_FROM_EMAIL

Which does the thing.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.