From 90219295a48bc29393a6232fdd295e47903fd737 Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Tue, 30 May 2017 09:26:16 +0200 Subject: [PATCH] return user object from upstream method invocation --- rest_auth/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_auth/serializers.py b/rest_auth/serializers.py index 723cfca..ca34ccd 100644 --- a/rest_auth/serializers.py +++ b/rest_auth/serializers.py @@ -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):