diff --git a/utilities/hasAccess.js b/utilities/hasAccess.js index 3437edcfde839bfebf7991ec0107bbcdedd43026..8fdf7ca4851b74b197501902d3e058dc999d2b9c 100644 --- a/utilities/hasAccess.js +++ b/utilities/hasAccess.js @@ -3,8 +3,7 @@ export default function hasAccess(session, admin) { const prod_role = "thealt_prod_website_website"; // this is just for development purposes - return true; - return session ? true : false; + // return session ? true : false; if (process.env.NODE_ENV && process.env.NODE_ENV === "development") return session ? true : false;