Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update redirectUrl in AccountRegisterInput (#15481)

Iga Karbowiak24c78b5e59ab
diff --git a/saleor/graphql/account/mutations/account/account_register.py b/saleor/graphql/account/mutations/account/account_register.py
index 74dc9bbcbc..68d0bb5224 100644
--- a/saleor/graphql/account/mutations/account/account_register.py
+++ b/saleor/graphql/account/mutations/account/account_register.py
@@ -33,7 +33,8 @@ class AccountRegisterInput(AccountBaseInput):
last_name = graphene.String(description="Family name.")
redirect_url = graphene.String(
description=(
- "Base of frontend URL that will be needed to create confirmation URL."
+ "Base of frontend URL that will be needed to create confirmation URL. "
+ "Required when account confirmation is enabled."
),
required=False,
)
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index c6d4a98567..e466409b03 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -31255,7 +31255,9 @@ input AccountRegisterInput @doc(category: "Users") {
"""Password."""
password: String!
- """Base of frontend URL that will be needed to create confirmation URL."""
+ """
+ Base of frontend URL that will be needed to create confirmation URL. Required when account confirmation is enabled.
+ """
redirectUrl: String
"""User public metadata."""