Skip to content

Commit

Permalink
docs: remove redundant 3rd arg to sessions example (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
damieng committed Dec 5, 2020
1 parent dc516e8 commit 5415a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/docs/configuration/callbacks.md
Expand Up @@ -125,7 +125,7 @@ callbacks: {
* JSON Web Token (if not using database sessions)
* @return {object} Session that will be returned to the client
*/
session: async (session, user, sessionToken) => {
session: async (session, user) => {
session.foo = 'bar' // Add property to session
return Promise.resolve(session)
}
Expand Down

1 comment on commit 5415a9c

@vercel
Copy link

@vercel vercel bot commented on 5415a9c Dec 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.