| 1 | == Auth password reset URLs == |
| 2 | #14881, [http://code.djangoproject.com/attachment/ticket/14881/django-auth-string-pk-support.patch Patch] |
| 3 | Problem:: `django.contrib.auth`'s password reset URLs contain a base36-encoded user ID (`/reset/<user-id>/<token>/`). The password reset feature breaks if the user ID is not an integer (because base36 can only express integers). |
| 4 | Solution:: Encode the user ID in a URL-safe variant of base64. This is a backwards-incompatible change that breaks "old-style" password reset URLs, but backwards compatibility should be very easy to implement if required. |
| 5 | Alternative proposals:: None |