mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-25 18:43:44 +03:00
return user object from upstream method invocation
This commit is contained in:
parent
cbda9ee075
commit
90219295a4
|
@ -220,7 +220,7 @@ class PasswordResetConfirmSerializer(serializers.Serializer):
|
||||||
return attrs
|
return attrs
|
||||||
|
|
||||||
def save(self):
|
def save(self):
|
||||||
self.set_password_form.save()
|
return self.set_password_form.save()
|
||||||
|
|
||||||
|
|
||||||
class PasswordChangeSerializer(serializers.Serializer):
|
class PasswordChangeSerializer(serializers.Serializer):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user