mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-30 02:46:44 -05:00
docs: update guide
This commit is contained in:
@@ -149,7 +149,7 @@ export const Profile = () => {
|
||||
|
||||
<Step>
|
||||
|
||||
### 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>
|
||||
|
||||
<Step>
|
||||
### Step 5: Middleware
|
||||
### Middleware
|
||||
|
||||
To protect routes with middleware, refer to the [Next.js middleware guide](/docs/integrations/next#middleware).
|
||||
</Step>
|
||||
|
||||
Reference in New Issue
Block a user