diff --git a/content/2.nuxt-auth/3.application-side/5.guest-mode.md b/content/2.nuxt-auth/3.application-side/5.guest-mode.md index f470a6f..6829875 100644 --- a/content/2.nuxt-auth/3.application-side/5.guest-mode.md +++ b/content/2.nuxt-auth/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',