Skip to content

Commit 4663ea5

Browse files
committed
wip: zen
1 parent dd581e8 commit 4663ea5

File tree

1 file changed

+1
-0
lines changed
  • packages/console/function/src

1 file changed

+1
-0
lines changed

packages/console/function/src/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export default {
134134
if (!subject) throw new Error("No subject found")
135135

136136
if (Resource.App.stage !== "production" && !email.endsWith("@anoma.ly")) {
137+
throw new Error("Invalid email")
137138
}
138139

139140
// Get account

0 commit comments

Comments
 (0)