Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Change requires_confirmation to required in AccountRegister mutation
Tomasz Szymańskibc7a7c974689
diff --git a/saleor/graphql/account/mutations/account.py b/saleor/graphql/account/mutations/account.pyindex 95d9a5d229..61846398ad 100644--- a/saleor/graphql/account/mutations/account.py+++ b/saleor/graphql/account/mutations/account.py@@ -44,6 +44,7 @@ class AccountRegister(ModelMutation):)requires_confirmation = graphene.Boolean(+ required=True,description="Informs whether users need to confirm their email address.")diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 2f97af57da..54f1f52e74 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -66,7 +66,7 @@ input AccountInput {type AccountRegister {errors: [Error!]- requiresConfirmation: Boolean+ requiresConfirmation: Boolean!accountErrors: [AccountError!]user: User}