Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update secret

Dillion Vermaad82f891d2b7
diff --git a/lib/auth.ts b/lib/auth.ts
index a540e802..4cfd4da6 100644
--- a/lib/auth.ts
+++ b/lib/auth.ts
@@ -10,6 +10,7 @@ import { upsertCustomer } from "./stripe-utils";
export const authOptions: NextAuthOptions = {
adapter: PrismaAdapter(db),
+ secret: process.env.NEXTAUTH_SECRET!,
session: { strategy: "jwt" },
pages: {
signIn: "/login",