@eeplatform/nuxt-layer-common 1.7.49 → 1.7.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/pages/login.vue +3 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/pages/login.vue
CHANGED
|
@@ -131,7 +131,9 @@ async function submit({ email = "", password = "" } = {}) {
|
|
|
131
131
|
|
|
132
132
|
await redirect(APP_ACCOUNT, "home");
|
|
133
133
|
} catch (error: any) {
|
|
134
|
-
message.value =
|
|
134
|
+
message.value =
|
|
135
|
+
error.response.data.message ??
|
|
136
|
+
"An error occurred during login. Please try again.";
|
|
135
137
|
} finally {
|
|
136
138
|
loading.value = false;
|
|
137
139
|
}
|