Skip to content

Commit

Permalink
removed outdated domains
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielWTE committed Apr 2, 2024
1 parent 0dd568b commit ec9bfa9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/functions/user/alias/get_domains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function handleGetDomainsAliasRequest(req: Request, res: Response)
return res.status(404).json({ message: "User not found" });
}

const domains = ['@solun.pm', '@6crypt.com', '@seal.pm', '@xolus.de', '@cipher.pm'];
const domains = ['@solun.pm'];

if (user_domains && user_domains.length) {
user_domains.forEach((user_domain: any) => {
Expand Down
4 changes: 0 additions & 4 deletions src/functions/user/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ export async function handleCheckUserRequest(req: Request, res: Response) {
// TODO: Move to config file.
const SolunOwnedDomains = [
"@solun.pm",
"@6crypt.com",
"@seal.pm",
"@xolus.de",
"@cipher.pm",
];

const isSolunDomain = SolunOwnedDomains.includes(domain) ? true : false;
Expand Down

0 comments on commit ec9bfa9

Please sign in to comment.