return user object from upstream method invocation

This commit is contained in:
Jacob Rief 2017-05-30 09:26:16 +02:00
parent cbda9ee075
commit 90219295a4

View File

@ -220,7 +220,7 @@ class PasswordResetConfirmSerializer(serializers.Serializer):
return attrs
def save(self):
self.set_password_form.save()
return self.set_password_form.save()
class PasswordChangeSerializer(serializers.Serializer):