Skip to content

Commit

Permalink
fix: verify oauth users automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
ephraimduncan committed Jun 5, 2024
1 parent c51d079 commit 345cc93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/auth/providers/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 345cc93

Please sign in to comment.