1
0
mirror of https://github.com/etesync/server synced 2024-12-27 09:48:24 +00:00

Signup: improve docs.

This commit is contained in:
Tom Hacohen 2020-10-13 11:10:55 +03:00
parent 24c161b0d8
commit 47f3e08846

View File

@ -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()