Make all versions of next and react match

This commit is contained in:
Darren Clarke 2023-05-25 06:30:36 +00:00
parent 656f3fbe71
commit 935290bbdc
7 changed files with 2459 additions and 4127 deletions

View file

@ -23,6 +23,10 @@ export default withAuth(
const authorizedDomains = ["redaranj.com", "digiresilience.org"];
const userDomain = token?.email?.toLowerCase().split("@").pop() ?? "unauthorized.net";
if (authorizedDomains.includes(userDomain)) {
return true;
}
return false;
},
}