Add SR2 to domain allow list
This commit is contained in:
parent
b5ccd86660
commit
8256c22e86
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ export default withAuth(
|
|||
}
|
||||
|
||||
// check session auth
|
||||
const authorizedDomains = ["redaranj.com", "digiresilience.org"];
|
||||
const authorizedDomains = ["redaranj.com", "digiresilience.org", "sr2.uk"];
|
||||
const userDomain = token?.email?.toLowerCase().split("@").pop() ?? "unauthorized.net";
|
||||
|
||||
if (authorizedDomains.includes(userDomain)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue