Monday, October 5, 2015

Possible Bug in password_reset_form

Not sure if this intentional or not, but in Django 1.8.4 the PasswordResetForm's save function only passes a dictionary as the context to "send_mail()".

Because of that, there is now way to add any extra information (i.e. from a RequestContext). 

Can anyone say if this is done for some security reason or if the context dictionary should be made into a RequestContext via "make_context"?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e0ead9fb-d6d1-48ea-9019-ffa2dbb14584%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment