4
0
forked from crowetic/commerce

Fix login error messages (#283)

This commit is contained in:
thegoodcode 2021-07-30 05:50:55 +01:00 committed by GitHub
parent 07dbeb4194
commit 34d0a0b978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ export const handler: MutationHook<LoginHook> = {
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',
})
}

View File

@ -22,7 +22,7 @@ export const handler: MutationHook<LoginHook> = {
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',
})
}