Move the list of authentication route names (login, register, password reset, openid, link-share) into a shared constant in src/constants/authRouteNames.ts. Use it in both App.vue (layout gate) and router/index.ts (auth redirect guard) to keep them in sync. |
||
|---|---|---|
| .. | ||
| authRouteNames.ts | ||
| date.ts | ||
| dateDisplay.ts | ||
| linkShareHash.ts | ||
| permissions.ts | ||
| priorities.ts | ||
| timeFormat.ts | ||