Fix URL template for password reset confirmation.
Review Request #12422 — Created June 28, 2022 and submitted — Latest diff uploaded
When I was updating the URLs, I kept the regex that we were previously
using for thepassword_reset_confirm
URL. Unfortunately, it looks like
Django has updated their token generation to create tokens that are
longer than the 20 characters that our old URL handled, resulting in a
NoReverseMatch
. The upstream URLs inside thedjango.contrib.auth
app
now just usereset/<uidb64>/<token>/
, so I've updated ours to match.
Went through the password reset process and saw that I didn't get URL
lookup errors anymore.