From 2ce8ceab7876b1dd9630dc02c2bdf1e8542dda74 Mon Sep 17 00:00:00 2001 From: thegoodcode Date: Sun, 18 Apr 2021 09:56:17 +0100 Subject: [PATCH] Fix login error messages --- 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 1be96a58c..7285ee015 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 7993822cd..31ede37ff 100644 --- a/framework/shopify/auth/use-login.tsx +++ b/framework/shopify/auth/use-login.tsx @@ -31,7 +31,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', }) }