@oniti/quasar-app-extension-vlank-auth 3.2.25 → 3.2.26

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
@@ -156,7 +156,7 @@ Route example:
156
156
  | rights | array of required rights, a message will pop if **any** right is missing! |
157
157
  | typeRightCheck | string, "any" or "all" define if all rights are requiered or only one |
158
158
  | logoutOnUnsufisantRights | self explaining :) |
159
- | ignoreAuthRedirect | if true, no redirection will be done on this route (useful for public pages where you want to preserve query params) |
159
+ | ignoreAuthRedirect | if true, no redirection will be done on this **public** route (useful for pages where you want to preserve query params) |
160
160
 
161
161
  ## Helpers
162
162
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oniti/quasar-app-extension-vlank-auth",
3
- "version": "3.2.25",
3
+ "version": "3.2.26",
4
4
  "description": "Authentification",
5
5
  "author": "François BOUYER <francois@oniti.fr>",
6
6
  "license": "MIT",
package/src/boot/index.js CHANGED
@@ -9,10 +9,10 @@ export default boot(({ app, router, store }) => {
9
9
  const config = app.config.globalProperties.$q.config.onitiVlankAuth;
10
10
  const configFramework = app.config.globalProperties.$q.config.onitiVlankAuthConfig ? app.config.globalProperties.$q.config.onitiVlankAuthConfig : {};
11
11
 
12
- // Fonction permettant de géré la redirection en cas decompte non loggué
12
+ // Fonction permettant de gérer la redirection en cas de compte non loggué
13
13
  router.beforeEach((to, from, next) => {
14
14
  /**
15
- * Définie les routes de redirection et de login
15
+ * Défini les routes de redirection et de login
16
16
  */
17
17
  const routesToSet = {
18
18
  loginRoute: { default: "defaultAuthRoute", mutation: "SET_LOGIN_ROUTE" },
@@ -116,6 +116,7 @@ export default boot(({ app, router, store }) => {
116
116
  {
117
117
  path: ":token",
118
118
  component: () => import("../components/pages/PasswordReset.vue"),
119
+ meta: { ignoreAuthRedirect: true },
119
120
  },
120
121
  ],
121
122
  },