From 47f3e088464bdc623a41139331085e3f2026e284 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 13 Oct 2020 11:10:55 +0300 Subject: [PATCH] Signup: improve docs. --- django_etebase/serializers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django_etebase/serializers.py b/django_etebase/serializers.py index 5cc24aa..759536b 100644 --- a/django_etebase/serializers.py +++ b/django_etebase/serializers.py @@ -443,6 +443,9 @@ class UserSignupSerializer(BetterErrorsMixin, serializers.ModelSerializer): class AuthenticationSignupSerializer(BetterErrorsMixin, serializers.Serializer): + """Used both for creating new accounts and setting up existing ones for the first time. + When setting up existing ones the email is ignored." + """ user = UserSignupSerializer(many=False) salt = BinaryBase64Field() loginPubkey = BinaryBase64Field()