Frank 5 месяцев назад
Родитель
Сommit
4663ea5faa
1 измененных файлов с 1 добавлено и 0 удалено
  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