Skip to content

Commit ec5423d

Browse files
committed
Fixed django#18270 -- Corrected variable name in password reset example.
Thanks schnippi for the report.
1 parent 11a5355 commit ec5423d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/auth.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ includes a few other useful built-in views located in
12421242
.. code-block:: html+django
12431243

12441244
Someone asked for password reset for email {{ email }}. Follow the link below:
1245-
{{ protocol}}://{{ site_name }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}
1245+
{{ protocol}}://{{ domain }}{% url 'auth_password_reset_confirm' uidb36=uid token=token %}
12461246

12471247
The same template context is used for subject template. Subject must be
12481248
single line plain text string.

0 commit comments

Comments
 (0)