@sowell/quasar-app-extension-auth 0.4.2 → 0.4.3
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/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<div class="q-pl-md q-pr-md" style="max-width: 500px">
|
|
10
10
|
<h4 class="title">{{ WELCOME_TITLE }}</h4>
|
|
11
11
|
<div class="subtitle">{{ WELCOME_SUBTITLE }}</div>
|
|
12
|
-
<q-form @submit="
|
|
12
|
+
<q-form @submit="handleSubmit">
|
|
13
13
|
<div>
|
|
14
14
|
<div class="q-ml-xs q-mb-xs text-subtitle2 text-weight-bold">
|
|
15
15
|
{{ $t("auth.email") }}
|
|
@@ -160,6 +160,10 @@ export default defineComponent({
|
|
|
160
160
|
icons,
|
|
161
161
|
} = useAuth();
|
|
162
162
|
|
|
163
|
+
const handleSubmit = () => {
|
|
164
|
+
onSubmit()
|
|
165
|
+
}
|
|
166
|
+
|
|
163
167
|
const IS_ADMIN = ["admin"].includes(X_REQUESTED_ROLES);
|
|
164
168
|
const isNotification = ref(false);
|
|
165
169
|
const requestedOtp = ref(false);
|
|
@@ -232,7 +236,7 @@ export default defineComponent({
|
|
|
232
236
|
goToOtpValidation,
|
|
233
237
|
resetPassword,
|
|
234
238
|
retypeEmail,
|
|
235
|
-
|
|
239
|
+
handleSubmit,
|
|
236
240
|
icons,
|
|
237
241
|
};
|
|
238
242
|
},
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
19
19
|
<div class="">
|
|
20
|
-
<q-form @submit="
|
|
20
|
+
<q-form @submit="handleSubmit">
|
|
21
21
|
<div>
|
|
22
22
|
<div
|
|
23
23
|
class="q-ml-xs q-mb-xs"
|
|
@@ -187,6 +187,10 @@ export default defineComponent({
|
|
|
187
187
|
icons,
|
|
188
188
|
} = useAuth();
|
|
189
189
|
|
|
190
|
+
const handleSubmit = () => {
|
|
191
|
+
onSubmit()
|
|
192
|
+
}
|
|
193
|
+
|
|
190
194
|
const appVersion = reactive({
|
|
191
195
|
versionNumber: "",
|
|
192
196
|
});
|
|
@@ -229,7 +233,7 @@ export default defineComponent({
|
|
|
229
233
|
emailResetPassword,
|
|
230
234
|
isReset,
|
|
231
235
|
sendEmailSuccess,
|
|
232
|
-
|
|
236
|
+
handleSubmit,
|
|
233
237
|
resetPassword,
|
|
234
238
|
goToOtpValidation,
|
|
235
239
|
isSubmitBtnDisabled,
|