Skip to content

Commit

Permalink
🔄 synced local 'content/2.nuxt-auth/' with remote 'docs/content/' (#169)
Browse files Browse the repository at this point in the history
Co-authored-by: sideborg <null>
  • Loading branch information
sideborg authored Mar 3, 2024
1 parent de2ea42 commit ac6aa90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/2.nuxt-auth/3.application-side/5.guest-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ac6aa90

Please sign in to comment.