From 345cc93a2df239ba343db69493d27e98d610051a Mon Sep 17 00:00:00 2001 From: Ephraim Atta-Duncan Date: Wed, 5 Jun 2024 05:44:24 +0000 Subject: [PATCH] fix: verify oauth users automatically --- packages/auth/providers/github.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/auth/providers/github.ts b/packages/auth/providers/github.ts index 168d25d..aadce14 100644 --- a/packages/auth/providers/github.ts +++ b/packages/auth/providers/github.ts @@ -133,6 +133,7 @@ export async function validateGithubCallback( email: primaryEmail.email, name: githubUser.name, avatar: githubUser.avatar_url, + emailVerified: true, }); await db.insert(oauth).values({