Merge pull request #334 from jrief/fixes/bypass-user-object

return user object from upstream method invocation
This commit is contained in:
Mateusz Sikora 2017-09-21 09:43:41 +02:00 committed by GitHub
commit b124aaf273

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):