PedroBern / django-graphql-auth

Django registration and authentication with GraphQL.

Home Page:https://django-graphql-auth.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I customize or add to the register mutation more fields ?

phaniophrero opened this issue · comments

For more information, see the CONTRIBUTING guide.

Description

I'd like to add some custom fields to the register mutation when I register a user like first_name, last_name, date_of_birth, address, city ... you got the idea

Steps to Reproduce

So I've tried to use the graphene_django to create a user mutation and DjangoObjectType but , now is not sending the email verification no more, the thing is that I'd still want to keep all those verifications and resets that graphql-auth brings , but I just want to have more fields in the register mutation and also to ask for password only once , not twice like it does right now.