File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import { z } from "zod/v4";
66export 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} )
Original file line number Diff line number Diff 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 />
You can’t perform that action at this time.
0 commit comments