diff --git a/.env b/.env index 148673b..24eb238 100644 --- a/.env +++ b/.env @@ -1,2 +1 @@ - -AUTH_SECRET="your-super-secret-auth-secret-change-me" +AUTH_SECRET=pY1fHh5vQ7cW6sZ3kE9jL2mN5rX8uB1g \ No newline at end of file diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts index 8965ca8..ae20e28 100644 --- a/src/app/api/auth/[...nextauth]/route.ts +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -10,6 +10,7 @@ export const { signIn, signOut, } = NextAuth({ + secret: process.env.AUTH_SECRET, providers: [ CredentialsProvider({ name: 'Credentials',