Skip to content

Commit

Permalink
[docs] Update authentication docs to fix iron-session link. (vercel#3…
Browse files Browse the repository at this point in the history
…3483)

Co-authored-by: Vincent Voyer <vincent@codeagain.com>
Co-authored-by: Lee Robinson <me@leerob.io>
  • Loading branch information
3 people authored and natew committed Feb 16, 2022
1 parent 860ffb7 commit 5e90a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function getServerSideProps(context) {
}
```

Let's transform the profile example to use [server-side rendering](/docs/basic-features/pages#server-side-rendering). If there's a session, return `user` as a prop to the `Profile` component in the page. Notice there is not a loading skeleton in [this example](https://next-with-iron-session.vercel.app/).
Let's transform the profile example to use [server-side rendering](/docs/basic-features/pages#server-side-rendering). If there's a session, return `user` as a prop to the `Profile` component in the page. Notice there is not a loading skeleton in [this example](https://iron-session-example.vercel.app/).

```jsx
// pages/profile.js
Expand Down

0 comments on commit 5e90a10

Please sign in to comment.