#30952: KeyError: '_password_reset_token' during password reset.
------------------------------+------------------------------------
     Reporter:  defigor       |                    Owner:  nobody
         Type:  Bug           |                   Status:  new
    Component:  contrib.auth  |                  Version:  3.1
     Severity:  Normal        |               Resolution:
     Keywords:                |             Triage Stage:  Accepted
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+------------------------------------

Comment (by Mark Gregson):

 > Seems that you have to jump through hoops to opt-into it…

 I agree.  In the simple example it certainly looks pointless and contrived
 but in my project there is a generic logging method that accepts a request
 object and after a password reset information related to other objects
 instantiated in the form is logged, which makes logging from the form a
 reasonable option.

 > Not sure what we should do about it.

 Maybe having this ticket to explain the problem and solution is enough.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30952#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.882194a58f31e5fa146afa08cb1ea980%40djangoproject.com.

Reply via email to