Skip to content

Commit

Permalink
Fix default_url_generator
Browse files Browse the repository at this point in the history
This is the URL that this module defines:

    dj_rest_auth/urls.py:    path('password/reset/confirm/', PasswordResetConfirmView.as_view(), name='rest_password_reset_confirm'),

As such, the URL name it should use is rest_password_reset_confirm
  • Loading branch information
jpic committed Apr 3, 2024
1 parent 069cd11 commit bdfb6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dj_rest_auth/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

def default_url_generator(request, user, temp_key):
path = reverse(
'password_reset_confirm',
'rest_password_reset_confirm',
args=[user_pk_to_url_str(user), temp_key],
)

Expand Down

0 comments on commit bdfb6cd

Please sign in to comment.