Skip to content

Commit

Permalink
chore: comment out adapter in dev app
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Jul 11, 2022
1 parent 6a364f0 commit fa3ea37
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions apps/dev/pages/api/auth/[...nextauth].ts
Expand Up @@ -35,13 +35,13 @@ import BoxyHQSAMLProvider from "next-auth/providers/boxyhq-saml"
import WikimediaProvider from "next-auth/providers/wikimedia"

// TypeORM
import { TypeORMLegacyAdapter } from "@next-auth/typeorm-legacy-adapter"
const adapter = TypeORMLegacyAdapter({
type: "sqlite",
name: "next-auth-test-memory",
database: "./typeorm/dev.db",
synchronize: true,
})
// import { TypeORMLegacyAdapter } from "@next-auth/typeorm-legacy-adapter"
// const adapter = TypeORMLegacyAdapter({
// type: "sqlite",
// name: "next-auth-test-memory",
// database: "./typeorm/dev.db",
// synchronize: true,
// })

// // Prisma
// import { PrismaAdapter } from "@next-auth/prisma-adapter"
Expand All @@ -65,7 +65,7 @@ const adapter = TypeORMLegacyAdapter({
// }

export const authOptions: NextAuthOptions = {
adapter,
// adapter,
providers: [
// E-mail
// Start fake e-mail server with `npm run start:email`
Expand Down

0 comments on commit fa3ea37

Please sign in to comment.