#14881: [nonrel] Do not assume ``User.id`` to be an integer in
django.contrib.auth's pasword reset feature
-------------------------------------+-------------------------------------
     Reporter:  jonash               |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  contrib.auth         |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  nonrel               |             Triage Stage:  Ready for
    Has patch:  1                    |  checkin
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1184d077893ff1bc947e45b00a4d565f3df81776"]:
 {{{
 #!CommitTicketReference repository=""
 revision="1184d077893ff1bc947e45b00a4d565f3df81776"
 Fixed #14881 -- Modified password reset to work with a non-integer
 UserModel.pk.

 uid is now base64 encoded in password reset URLs/views. A backwards
 compatible
 password_reset_confirm view/URL will allow password reset links generated
 before
 this change to continue to work. This view will be removed in Django 1.7.

 Thanks jonash for the initial patch and claudep for the review.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/14881#comment:21>
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.2dbe9ce677716fc870eb53c19696cc6a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to