aboutsummaryrefslogtreecommitdiff
path: root/src/lib/auth.ts
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-07-14 21:01:38 +0200
committerschererleander <leander@schererleander.de>2025-07-14 21:01:38 +0200
commitf85e60a4b7a953d730bb3d875ec71d9b07fb867d (patch)
tree7850a4a6f7d0dd6cfabe8b93d9ca77dd48c10708 /src/lib/auth.ts
parent63c65e03d2e7052be39264d9927574576d46421d (diff)
chore: remove unused mongodbadapter
Diffstat (limited to 'src/lib/auth.ts')
-rw-r--r--src/lib/auth.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/auth.ts b/src/lib/auth.ts
index 7681009..51c6c91 100644
--- a/src/lib/auth.ts
+++ b/src/lib/auth.ts
@@ -1,6 +1,5 @@
import NextAuth, { type NextAuthOptions } from "next-auth"
import CredentialsProvider from "next-auth/providers/credentials"
-import { MongoDBAdapter } from "@auth/mongodb-adapter"
import { MongoClient } from "mongodb"
import bcrypt from "bcryptjs"
import dbConnect from "./mongodb"
@@ -10,7 +9,6 @@ import { loginSchema } from "./validation"
const client = new MongoClient(process.env.MONGODB_URI!)
export const authOptions: NextAuthOptions = {
- adapter: MongoDBAdapter(client),
providers: [
CredentialsProvider({
name: "credentials",