Frank 10 months ago
parent
commit
4663ea5faa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/console/function/src/auth.ts

+ 1 - 0
packages/console/function/src/auth.ts

@@ -134,6 +134,7 @@ export default {
         if (!subject) throw new Error("No subject found")
 
         if (Resource.App.stage !== "production" && !email.endsWith("@anoma.ly")) {
+          throw new Error("Invalid email")
         }
 
         // Get account