From dabd3912f1dab4ddd67c414179dc531645c1f1c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz?= Date: Wed, 13 Jan 2021 08:21:23 +0100 Subject: [PATCH] added error message --- packages/commercetools/theme/lang/en.js | 3 + .../theme/components/LoginModal.vue | 55 ++++++++++++++++--- .../core/nuxt-theme-module/theme/lang/en.js | 3 + 3 files changed, 53 insertions(+), 8 deletions(-) diff --git a/packages/commercetools/theme/lang/en.js b/packages/commercetools/theme/lang/en.js index 2aa6164be85..61afd8d4f7c 100644 --- a/packages/commercetools/theme/lang/en.js +++ b/packages/commercetools/theme/lang/en.js @@ -112,4 +112,7 @@ export default { 'login in to your account': 'login in to your account', 'Create an account': 'Create an account', 'Your bag is empty': 'Your bag is empty', + 'There is already an existing customer with the email.': 'There is already an existing customer with the email.', + 'Account with the given credentials not found.': 'Account with the given credentials not found.', + 'Customer account with the given credentials not found.': 'Customer account with the given credentials not found.' }; diff --git a/packages/core/nuxt-theme-module/theme/components/LoginModal.vue b/packages/core/nuxt-theme-module/theme/components/LoginModal.vue index 8e289c5698d..8edd5397ae5 100644 --- a/packages/core/nuxt-theme-module/theme/components/LoginModal.vue +++ b/packages/core/nuxt-theme-module/theme/components/LoginModal.vue @@ -15,6 +15,10 @@
+
+