﻿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
32401	Email template for resetting password is missing the port the application is running on	Bergiu	nobody	"If the django application is running on a different port than 80 or 443 the email template for resetting the password sends the wrong link for the confirmation.

I have installed dj-rest-auth and allauth. There are methods to reset the password of an account. These methods use django.contrib.auth.forms.PasswordResetForm and this sends an email to the given email address with the template from django/contrib/admin/templates/registration/password_reset_email.html. There is no option in this template to set the port in the confirm address.

For now i use a hack, where i put the port in the sites domain name, but i think, there should be an option to set the port in this template:
https://github.com/django/django/blob/master/django/contrib/admin/templates/registration/password_reset_email.html#L6"	Bug	closed	contrib.admin	3.1	Normal	needsinfo	email template reset	Florian Apolloner	Unreviewed	0	0	0	0	0	0
