MY QUALITY - First iteration
This commit is contained in:
1 parent
4f8996712e
commit
1fdb9536fa
31 files changed
+1965
-98
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user