We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e4d16 commit f62ece2Copy full SHA for f62ece2
packages/core/src/lib/actions/callback/index.ts
@@ -318,10 +318,11 @@ export async function callback(
318
const user = userFromAuthorize
319
320
if (!user) {
321
- console.error("Read more at https://errors.authjs.dev/#credentialssignin")
+ console.error(
322
+ "Read more at https://errors.authjs.dev/#credentialssignin"
323
+ )
324
throw new CredentialsSignin()
- }
- else user.id = user.id?.toString() ?? crypto.randomUUID()
325
+ } else user.id = user.id?.toString() ?? crypto.randomUUID()
326
327
const account = {
328
providerAccountId: user.id,
0 commit comments