Skip to content

Commit

Permalink
Update callbacks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iaincollins committed Aug 10, 2020
1 parent 07ef3d5 commit 9c4e41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/docs/configuration/callbacks.md
Expand Up @@ -170,7 +170,7 @@ callbacks: {
jwt: async (token, user, account, profile, isNewUser) => {
const isSignIn = (user) ? true : false
// Add auth_time to token on signin in
if (isSignIn) { token.auth_time = Date.now() }
if (isSignIn) { token.auth_time = Math.floor(Date.now() / 1000) }
return Promise.resolve(token)
}
}
Expand Down

1 comment on commit 9c4e41a

@vercel
Copy link

@vercel vercel bot commented on 9c4e41a Aug 10, 2020

Choose a reason for hiding this comment

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

Deployment failed with the following error:

The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/nextauthjs/settings/billing

Please sign in to comment.