Skip to content

Commit

Permalink
disable discord login
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgoonie committed Jul 2, 2023
1 parent 2c5ba31 commit 4c21abd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
type NextAuthOptions,
type DefaultSession,
} from "next-auth";
import DiscordProvider from "next-auth/providers/discord";
import { env } from "@/env.mjs";
// import DiscordProvider from "next-auth/providers/discord";
// import { env } from "@/env.mjs";
import { prisma } from "@/server/db";

/**
Expand Down Expand Up @@ -47,10 +47,10 @@ export const authOptions: NextAuthOptions = {
},
adapter: PrismaAdapter(prisma),
providers: [
DiscordProvider({
clientId: env.DISCORD_CLIENT_ID,
clientSecret: env.DISCORD_CLIENT_SECRET,
}),
// DiscordProvider({
// clientId: env.DISCORD_CLIENT_ID,
// clientSecret: env.DISCORD_CLIENT_SECRET,
// }),
/**
* ...add more providers here.
*
Expand Down

0 comments on commit 4c21abd

Please sign in to comment.