mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 23:12:23 +00:00
feat(auth): enable GitHub dangerous email account linking
This commit is contained in:
parent
aa9d6d5586
commit
f16363ae72
@ -34,7 +34,9 @@ const createSession = async (userId: string) => {
|
||||
export const { auth, handlers, signIn, signOut } = NextAuth({
|
||||
adapter,
|
||||
providers: [
|
||||
GitHub,
|
||||
GitHub({
|
||||
allowDangerousEmailAccountLinking: true,
|
||||
}),
|
||||
Credentials({
|
||||
credentials: {
|
||||
email: {},
|
||||
|
Loading…
Reference in New Issue
Block a user