From 34d0a0b97828345505887eed3c648b406a50fb0c Mon Sep 17 00:00:00 2001 From: thegoodcode Date: Fri, 30 Jul 2021 05:50:55 +0100 Subject: [PATCH] Fix login error messages (#283) --- framework/bigcommerce/auth/use-login.tsx | 2 +- framework/shopify/auth/use-login.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/bigcommerce/auth/use-login.tsx b/framework/bigcommerce/auth/use-login.tsx index 3ebacc9b7..d366b5260 100644 --- a/framework/bigcommerce/auth/use-login.tsx +++ b/framework/bigcommerce/auth/use-login.tsx @@ -16,7 +16,7 @@ export const handler: MutationHook = { if (!(email && password)) { throw new CommerceError({ message: - 'A first name, last name, email and password are required to login', + 'An email and password are required to login', }) } diff --git a/framework/shopify/auth/use-login.tsx b/framework/shopify/auth/use-login.tsx index d4369b7c2..e1de89c99 100644 --- a/framework/shopify/auth/use-login.tsx +++ b/framework/shopify/auth/use-login.tsx @@ -22,7 +22,7 @@ export const handler: MutationHook = { if (!(email && password)) { throw new CommerceError({ message: - 'A first name, last name, email and password are required to login', + 'An email and password are required to login', }) }