@oniti/quasar-app-extension-vlank-auth 3.2.13 → 3.2.14
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
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
<q-img alt="" class="logo q-mb-md" :src="getLogoImage()" />
|
|
5
5
|
<p>Un lien vous sera envoyé par email pour réinitialiser votre mot de passe</p>
|
|
6
6
|
<vlank-input
|
|
7
|
-
v-model="
|
|
7
|
+
v-model="email"
|
|
8
8
|
outlined
|
|
9
9
|
rounded
|
|
10
10
|
class="login"
|
|
11
11
|
color="primary q-mb-md"
|
|
12
12
|
label="Adresse mail"
|
|
13
|
-
name="
|
|
13
|
+
name="email"
|
|
14
14
|
@enter-press="submitPasswordLost"
|
|
15
15
|
>
|
|
16
16
|
<template v-slot:prepend>
|
|
@@ -48,11 +48,11 @@ const $auth = inject('vlank-auth')
|
|
|
48
48
|
const $router = useRouter()
|
|
49
49
|
const $q = useQuasar()
|
|
50
50
|
|
|
51
|
-
const
|
|
51
|
+
const email = ref(null)
|
|
52
52
|
|
|
53
53
|
const submitPasswordLost = function () {
|
|
54
54
|
$auth.passwordLost({
|
|
55
|
-
email:
|
|
55
|
+
email: email.value
|
|
56
56
|
}).then(() => {
|
|
57
57
|
$router.push($auth.getLoginRoute())
|
|
58
58
|
})
|