@goweekdays/layer-common 1.6.7 → 1.6.8
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/forgot-password.vue +11 -6
- package/pages/login.vue +1 -1
- package/pages/logout.vue +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-row
|
|
2
|
+
<v-row
|
|
3
|
+
no-gutters
|
|
4
|
+
class="fill-height pa-4"
|
|
5
|
+
justify="center"
|
|
6
|
+
align-content="center"
|
|
7
|
+
>
|
|
3
8
|
<v-col cols="12" class="mb-6">
|
|
4
9
|
<v-row no-gutters justify="center">
|
|
5
10
|
<nuxt-link
|
|
6
|
-
class="text-h2 font-weight-bold text-decoration-none"
|
|
11
|
+
class="text-h3 text-sm-h2 font-weight-bold text-decoration-none"
|
|
7
12
|
style="color: unset"
|
|
8
13
|
:to="{ name: 'index' }"
|
|
9
14
|
>
|
|
@@ -38,14 +43,14 @@
|
|
|
38
43
|
variant="tonal"
|
|
39
44
|
:disabled="!isValid"
|
|
40
45
|
rounded="xl"
|
|
41
|
-
size="large"
|
|
46
|
+
size="x-large"
|
|
42
47
|
>
|
|
43
48
|
submit
|
|
44
49
|
</v-btn>
|
|
45
50
|
</v-row>
|
|
46
51
|
</v-col>
|
|
47
52
|
|
|
48
|
-
<v-col cols="12" class="mt-2 text-center">
|
|
53
|
+
<v-col cols="12" class="mt-2 text-center font-weight-bold text-h6">
|
|
49
54
|
All good? <nuxt-link :to="{ name: 'login' }">Login</nuxt-link>
|
|
50
55
|
</v-col>
|
|
51
56
|
</v-row>
|
|
@@ -68,8 +73,8 @@ const message = ref("");
|
|
|
68
73
|
async function submit(email = "") {
|
|
69
74
|
message.value = "";
|
|
70
75
|
try {
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
const result = await forgotPassword(email);
|
|
77
|
+
message.value = result.message;
|
|
73
78
|
} catch (error: any) {
|
|
74
79
|
message.value = error.response?._data?.message || "An error occurred.";
|
|
75
80
|
}
|
package/pages/login.vue
CHANGED
package/pages/logout.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-row no-gutters class="fill-height" justify="center" align-content="center">
|
|
3
|
-
<v-col cols="12" class="mt-2 text-center font-weight-bold">
|
|
3
|
+
<v-col cols="12" class="mt-2 text-center font-weight-bold text-h6">
|
|
4
4
|
You have been logged out.
|
|
5
5
|
<nuxt-link :to="{ name: 'login' }">Login</nuxt-link>
|
|
6
6
|
</v-col>
|