Contrib auth password-reset email depends on is_admin_site
|Reported by:||petr.pulc@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Just a weird behavior in there:
Assume I got a portal that have to work under few different URLs or just I want to have it portable. So, I do not want to really use Sites and I turn is_admin_site to True. But now, password-reset email turns to default one, no matter what my email_template_name setting is.
I thing it is just a bug in django.contrib.auth.views.password_reset, where is_admin_site (l98) should only control domain override.
Change History (4)
comment:1 Changed 6 years ago by gabrielhurley
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 6 years ago by lukeplant
- Resolution set to fixed
- Status changed from new to closed