mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
clean up console.log() used for testing
This commit is contained in:
@ -62,8 +62,7 @@ export const NEXT_AUTH_OPTIONS: AuthOptions = {
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
callbacks: {
|
callbacks: {
|
||||||
async jwt({ token, user, account, profile }) {
|
async jwt({ token, user }) {
|
||||||
console.log('jwt', { token, user, account, profile });
|
|
||||||
const dbUser = await prisma.user.findFirst({
|
const dbUser = await prisma.user.findFirst({
|
||||||
where: {
|
where: {
|
||||||
email: token.email as string,
|
email: token.email as string,
|
||||||
|
|||||||
Reference in New Issue
Block a user