Skip to content
Snippets Groups Projects
Commit 7edd5631 authored by Fabien Zucchet's avatar Fabien Zucchet
Browse files

debug

parent 90ce1b51
No related branches found
No related tags found
No related merge requests found
......@@ -185,6 +185,7 @@ async function isAdminMiddleware(req, res, next) {
console.log("admins :");
console.log(adminsList);
console.log(adminsList.includes(login));
if (adminsList.includes(login)) {
return next();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment