feat: implement user authentication and authorization with NextAuth, including user schema, password hashing, and role-based access control.

This commit is contained in:
Michael committed 2026-02-22 14:11:36 +01:00
1 parent c842c2447a
commit 359d196c4d
18 files changed
+652 -32

No files matched your search

+4 -2
View File
@@ -14,6 +14,8 @@ export const metadata: Metadata = {
description: "Révision d'Assortiment Haute Performance",
};
import { Providers } from "./providers";
export default function RootLayout({
children,
}: Readonly<{
@@ -22,9 +24,9 @@ export default function RootLayout({
return (
<html lang="fr" suppressHydrationWarning>
<body className={`${inter.variable} font-sans antialiased`}>
<ThemeProvider>
<Providers>
{children}
</ThemeProvider>
</Providers>
</body>
</html>
);