@oniti/quasar-app-extension-vlank-auth 3.2.12 → 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/README.md CHANGED
@@ -154,6 +154,7 @@ The following keys are not prompted during the installation process, but can be
154
154
  | Key | Purpose |
155
155
  | --- | ------- |
156
156
  | `disableLostPassword` | Disable the "lost password" button |
157
+ | `hideBottomTextLogo` | Hide the "text logo" at the bottom of pages |
157
158
 
158
159
  ### TODO
159
160
  - add "rightOperator" (AND/OR)?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oniti/quasar-app-extension-vlank-auth",
3
- "version": "3.2.12",
3
+ "version": "3.2.14",
4
4
  "description": "Authentification",
5
5
  "author": "François BOUYER <francois@oniti.fr>",
6
6
  "license": "MIT",
@@ -64,11 +64,9 @@
64
64
  import { ref, onMounted, computed, watch, inject } from 'vue'
65
65
  import { useStore } from 'vuex'
66
66
  import { useQuasar } from 'quasar'
67
- import { useRouter } from 'vue-router'
68
67
 
69
68
  const store = useStore()
70
69
  const $q = useQuasar()
71
- const $router = useRouter()
72
70
  const $auth = inject('vlank-auth')
73
71
 
74
72
  const isPwd = ref(true)
@@ -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="login"
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="login"
13
+ name="email"
14
14
  @enter-press="submitPasswordLost"
15
15
  >
16
16
  <template v-slot:prepend>
@@ -42,15 +42,17 @@
42
42
  <script setup>
43
43
  import { ref, inject } from 'vue'
44
44
  import { useRouter } from 'vue-router'
45
+ import { useQuasar } from 'quasar'
45
46
 
46
47
  const $auth = inject('vlank-auth')
47
48
  const $router = useRouter()
49
+ const $q = useQuasar()
48
50
 
49
- const login = ref(null)
51
+ const email = ref(null)
50
52
 
51
53
  const submitPasswordLost = function () {
52
54
  $auth.passwordLost({
53
- email: login.value
55
+ email: email.value
54
56
  }).then(() => {
55
57
  $router.push($auth.getLoginRoute())
56
58
  })