MY QUALITY - First iteration

This commit is contained in:
2026-06-11 15:43:35 +01:00
parent 4f8996712e
commit 1fdb9536fa
31 changed files with 1965 additions and 98 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export const { handlers, auth, signIn, signOut } = NextAuth({
const u = await authenticateCredential({
email,
secret: password,
allowedRoles: ['ADMIN', 'SUPERVISOR'],
allowedRoles: ['ADMIN', 'SUPERVISOR', 'QUALITY'],
});
if (!u) return null;
return {