From 1fed501ea5d118243aab9d97072e63102cd98fc6 Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Fri, 22 Nov 2024 11:02:46 +0300 Subject: [PATCH] docs: update guide --- docs/content/docs/guides/next-auth-migration-guide.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/docs/guides/next-auth-migration-guide.mdx b/docs/content/docs/guides/next-auth-migration-guide.mdx index 04b5e087ca..2b65f94eea 100644 --- a/docs/content/docs/guides/next-auth-migration-guide.mdx +++ b/docs/content/docs/guides/next-auth-migration-guide.mdx @@ -149,7 +149,7 @@ export const Profile = () => { -### Step 4: Server-Side Session Handling +### Server-Side Session Handling Use the `auth` instance to get session data on the server: @@ -168,7 +168,7 @@ export const protectedAction = async () => { -### Step 5: Middleware +### Middleware To protect routes with middleware, refer to the [Next.js middleware guide](/docs/integrations/next#middleware).