Skip to content

Commit

Permalink
Legal and privacy should be public routes
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Apr 24, 2024
1 parent fba2624 commit 98a6795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const scheduleStore = useScheduleStore();
// true if route can be accessed without authentication
const routeIsPublic = computed(
() => ['availability', 'home', 'login', 'post-login', 'confirmation'].includes(route.name),
() => ['availability', 'home', 'login', 'post-login', 'confirmation', 'legal', 'privacy'].includes(route.name),
);
const routeIsHome = computed(
() => ['home'].includes(route.name),
Expand Down

0 comments on commit 98a6795

Please sign in to comment.