@oniti/quasar-app-extension-vlank-auth 3.2.5 → 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 +14 -1
- package/package.json +1 -1
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
|
-
###
|
|
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
|