From d35ad3125d61f09552a999437171adefff69b9b3 Mon Sep 17 00:00:00 2001 From: Haradhan Sharma <58944514+haradhansharma@users.noreply.github.com> Date: Sat, 13 Jul 2024 17:22:22 +0600 Subject: [PATCH] Update views.py # instance should have in the post password reset --- django_rest_passwordreset/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_rest_passwordreset/views.py b/django_rest_passwordreset/views.py index 1af7590..3b13a34 100644 --- a/django_rest_passwordreset/views.py +++ b/django_rest_passwordreset/views.py @@ -170,6 +170,7 @@ def post(self, request, *args, **kwargs): post_password_reset.send( sender=self.__class__, user=reset_password_token.user, + instance = self, # instance should have in the post password reset reset_password_token=reset_password_token, )