diff --git a/docs/content/3.application-side/5.guest-mode.md b/docs/content/3.application-side/5.guest-mode.md index f470a6fe..6829875c 100644 --- a/docs/content/3.application-side/5.guest-mode.md +++ b/docs/content/3.application-side/5.guest-mode.md @@ -15,6 +15,7 @@ This behavior is useful for login pages that you don't want to be visitable by l Briefly summarized, you can enable guest mode on a page by passing the following configuration: ```ts definePageMeta({ + middleware: 'auth', // Only required if globalAppMiddleware is disabled auth: { unauthenticatedOnly: true, navigateAuthenticatedTo: '/profile',