pequenas correções + doc update

This commit is contained in:
2026-05-30 12:14:46 +01:00
parent 1bc837e606
commit 98f6444736
3 changed files with 15 additions and 17 deletions
+2 -3
View File
@@ -3,13 +3,12 @@ import Credentials from 'next-auth/providers/credentials';
import { prisma } from '@repo/db';
import { authenticateCredential } from '@repo/api';
import type { SessionUser } from '@repo/api';
import { env } from '../env';
import { authConfig } from './auth.config';
const AUTH_SECRET = process.env['AUTH_SECRET'];
export const { handlers, auth, signIn, signOut } = NextAuth({
...authConfig,
secret: AUTH_SECRET,
secret: env.AUTH_SECRET,
providers: [
Credentials({
name: 'Email + password',