Contrib auth password-reset email depends on is_admin_site
|Reported by:||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
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|