@oniti/quasar-app-extension-vlank-auth 3.2.4 → 3.2.6

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
@@ -18,6 +18,11 @@ quasar ext add @oniti/vlank-auth
18
18
  quasar ext remove @oniti/vlank-auth
19
19
  ```
20
20
 
21
+ ### Update
22
+ ```bash
23
+ yarn upgrade @oniti/vlank-auth
24
+ ```
25
+
21
26
  ### Settings
22
27
  See also settings in `quasar.extensions.json` (created on install).
23
28
 
@@ -46,7 +51,7 @@ chainWebpack(chain) {
46
51
  });
47
52
  }
48
53
  ```
49
- ### Configuration Optional
54
+ ### Custom route validation
50
55
  You can define a custom function to check route access.
51
56
 
52
57
  in `quasar.conf.js`
@@ -142,6 +147,14 @@ Les helpers sont accessibles depuis le composant après avoir fait un inject :
142
147
  | $auth.getWantedRoute() | return previously "forbidden" route |
143
148
  | $auth.isFunctionalRoute(routePath) | Check the route is a functionnal route (Login Route, PasswordCreate Route or PasswordLost Route) |
144
149
 
150
+ ## Optionnal extension configuration
151
+
152
+ The following keys are not prompted during the installation process, but can be added to `quasar.extensions.json` :
153
+
154
+ | Key | Purpose |
155
+ | --- | ------- |
156
+ | `disableLostPassword` | Disable the "lost password" button |
157
+
145
158
  ### TODO
146
159
  - add "rightOperator" (AND/OR)?
147
160
  - messages customisation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oniti/quasar-app-extension-vlank-auth",
3
- "version": "3.2.4",
3
+ "version": "3.2.6",
4
4
  "description": "Authentification",
5
5
  "author": "François BOUYER <francois@oniti.fr>",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  rounded
9
9
  class="login"
10
10
  color="primary q-mb-md"
11
- :label="$q.i18n.auth.email"
11
+ label="Adresse mail"
12
12
  name="login"
13
13
  @enter-press="submitConnexion"
14
14
  >
@@ -22,7 +22,7 @@
22
22
  rounded
23
23
  :type="isPwd ? 'password' : 'text'"
24
24
  class="login"
25
- :label="$q.i18n.auth.password"
25
+ label="Mot de passe"
26
26
  name="password"
27
27
  @enter-press="submitConnexion"
28
28
  >
@@ -40,7 +40,7 @@
40
40
  <q-btn
41
41
  class="q-ma-md float-right connexion-btn"
42
42
  color="accent"
43
- :label="$q.i18n.auth.signin"
43
+ label="Connexion"
44
44
  rounded
45
45
  unelevated
46
46
  @click="submitConnexion"
@@ -50,7 +50,7 @@
50
50
  color="accent"
51
51
  type="a"
52
52
  :href="getUrlPasswordLost"
53
- :label="$q.i18n.auth.forgetPassword"
53
+ label="Mot de passe oublié ?"
54
54
  />
55
55
  <div class="text-logo">
56
56
  <a href="https://www.oniti.fr/"><img alt="Oniti.fr" :src="getLogoBottomImage()" /></a>
@@ -9,7 +9,7 @@
9
9
  rounded
10
10
  class="login"
11
11
  color="primary q-mb-md"
12
- :label="$q.i18n.auth.email"
12
+ label="Adresse mail"
13
13
  name="login"
14
14
  @enter-press="submitPasswordLost"
15
15
  >
@@ -20,7 +20,7 @@
20
20
  <q-btn
21
21
  class="q-ma-md float-right connexion-btn"
22
22
  color="accent"
23
- :label="$q.i18n.auth.send"
23
+ label="Envoyer"
24
24
  rounded
25
25
  unelevated
26
26
  @click="submitPasswordLost"
@@ -29,7 +29,7 @@
29
29
  flat
30
30
  color="accent"
31
31
  type="a"
32
- :label="$q.i18n.auth.goBackToLogin"
32
+ label="Retour à l'écran de connexion"
33
33
  @click="onClickBackLogin"
34
34
  />
35
35
  <div class="text-logo">
@@ -8,7 +8,7 @@
8
8
  rounded
9
9
  class="login"
10
10
  color="primary q-mb-md"
11
- :label="$q.i18n.auth.newPassword"
11
+ label="Nouveau mot de passe"
12
12
  name="new_password"
13
13
  :type="isNewPwd ? 'password' : 'text'"
14
14
  @enter-press="submitPassword"
@@ -30,7 +30,7 @@
30
30
  rounded
31
31
  class="login"
32
32
  color="primary q-mb-md"
33
- :label="$q.i18n.auth.confirmPassword"
33
+ label="Confirmation du mot de passe"
34
34
  name="password_confirm"
35
35
  :type="isConfirmPwd ? 'password' : 'text'"
36
36
  @enter-press="submitPassword"
@@ -49,7 +49,7 @@
49
49
  <q-btn
50
50
  class="q-ma-md float-right connexion-btn"
51
51
  color="accent"
52
- :label="$q.i18n.auth.send"
52
+ label="Envoyer"
53
53
  rounded
54
54
  unelevated
55
55
  @click="submitPassword"