Skip to content

The open source coding agent.

TypeScript

wip: zen

Frank4663ea5faad4
diff --git a/packages/console/function/src/auth.ts b/packages/console/function/src/auth.ts
index eb31015edf6..f1f341cec3d 100644
--- a/packages/console/function/src/auth.ts
+++ b/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