#8451 closed (duplicate)
Fix URL in e-mails sent out by password reset
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.auth | Version: | dev |
Severity: | Keywords: | ||
Cc: | richard.davies@… | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The authentication framework as a built in view (django.contrib.auth.views.password_reset) and form (django.contrib.auth.forms.PasswordResetForm) which send a user an e-mail inviting them to reset their password.
The e-mail assumes that the view 'django.contrib.auth.views.password_reset_confirm' will be at "{{ protocol }}:{{ domain }}/reset/{{ uid }}-{{ token }}/", whereas in fact it might be anywhere.
This patch calls reverse() to generate the correct URL for the e-mail.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | fix_password_reset_confirm_path.diff added |
---|
comment:1 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Dup of #8129