﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18270	Erroneous sample email template for password reset	schnippi	nobody	"The sample registration/password_reset_email.html email body template at [https://docs.djangoproject.com/en/1.4/topics/auth/#module-django.contrib.auth.views] is

{{{
Someone asked for password reset for email {{ email }}. Follow the link below:
{{ protocol}}://{{ site_name }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}
}}}

but it should be

{{{
Someone asked for password reset for email {{ email }}. Follow the link below:
{{ protocol }}://{{ domain }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}
}}}

Because '''site_name''' is a human readable description of the site and not a domain name. So the current example template will get the user to something like ""http://My Site/accounts/..."", which is not the desired effect.
"	Bug	closed	Documentation	1.4	Normal	fixed	password reset, email template, sample		Ready for checkin	0	0	0	0	1	0
