diff options
-rw-r--r-- | patchwork/urls.py | 2 | ||||
-rw-r--r-- | releasenotes/notes/issue-394-722c1e6384684469.yaml | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/patchwork/urls.py b/patchwork/urls.py index 79268e4..be388ac 100644 --- a/patchwork/urls.py +++ b/patchwork/urls.py @@ -158,7 +158,7 @@ urlpatterns = [ ), re_path( r'^user/password-reset/(?P<uidb64>[0-9A-Za-z_\-]+)/' - r'(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', + r'(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,32})/$', auth_views.PasswordResetConfirmView.as_view(), name='password_reset_confirm', ), diff --git a/releasenotes/notes/issue-394-722c1e6384684469.yaml b/releasenotes/notes/issue-394-722c1e6384684469.yaml new file mode 100644 index 0000000..eda4f12 --- /dev/null +++ b/releasenotes/notes/issue-394-722c1e6384684469.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixed a compatability issue with Django 3.1 that prevented users from + resetting their password. + (`#394 <https://github.com/getpatchwork/patchwork/issues/394>`__) |