Skip to content

Commit 1b692a5

Browse files
committed
Revert "Allow acm.illinois.edu emails for leads"
This reverts commit 263fead.
1 parent 263fead commit 1b692a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/common/types/organizations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { z } from "zod/v4";
66
export const orgLeadEntry = z.object({
77
name: z.optional(z.string()),
88
username: z.email().refine(
9-
(email) => email.endsWith('@illinois.edu') || email.endsWith('@acm.illinois.edu'),
10-
{ message: 'Email must be from the @illinois.edu or @acm.illinois.edu domain' }
9+
(email) => email.endsWith('@illinois.edu'),
10+
{ message: 'Email must be from the @illinois.edu domain' }
1111
),
1212
title: z.optional(z.string())
1313
})

src/ui/pages/organization/ManageOrganizationForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,8 @@ export const ManageOrganizationForm: React.FC<ManageOrganizationFormProps> = ({
455455
/>
456456
<TextInput
457457
label="Lead Email"
458-
description="You must use an @illinois.edu or @acm.illinois.edu email"
459-
placeholder="user@illinois.edu"
458+
description="Please use their Illinois email!"
459+
placeholder="email@illinois.edu"
460460
value={newLeadEmail}
461461
onChange={(e) => setNewLeadEmail(e.currentTarget.value)}
462462
/>

0 commit comments

Comments
 (0)