Skip to content

Commit

Permalink
Stage Release (#3219)
Browse files Browse the repository at this point in the history
Created by Github action
  • Loading branch information
shrunyan authored Feb 14, 2025
2 parents b13ca61 + 3d6583c commit 15673cc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/utility/isZestyEmail.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
import { MD5 } from "./md5";

export function isZestyEmail(email: string): boolean {
return email.endsWith("@zesty.io");
const hashedWhitelistedEmails = [
"f6b705ad0f149b40abe7ab939d6f2cc4",
"91de2eca00c7588dbd5b477751a68e39",
];

return (
email.endsWith("@zesty.io") || hashedWhitelistedEmails.includes(MD5(email))
);
}

0 comments on commit 15673cc

Please sign in to comment.