fix: login/registo funcional — signIn NextAuth, SessionProvider, NEXTAUTH_SECRET real, error handling

This commit is contained in:
2026-05-27 11:18:16 +01:00
parent 7be9d5131f
commit 2571137bec
4 changed files with 215 additions and 173 deletions

View File

@@ -1,6 +1,7 @@
import type { Metadata } from 'next';
import { Playfair_Display, Lora, Fragment_Mono } from 'next/font/google';
import Script from 'next/script';
import Providers from './providers';
import './globals.css';
const playfair = Playfair_Display({
@@ -73,7 +74,7 @@ export default function RootLayout({
fontFamily: 'var(--font-lora, var(--font-body, Lora, Georgia, serif))',
}}
>
{children}
<Providers>{children}</Providers>
</body>
</html>
);