diff --git a/app/signup/page.tsx b/app/signup/page.tsx index a46e93c..782df45 100644 --- a/app/signup/page.tsx +++ b/app/signup/page.tsx @@ -31,10 +31,10 @@ export default function SignupPage() { setError('Please enter a valid email address.') return } - // if (!trimmed.toLowerCase().endsWith('@northeastern.edu')) { - // setError('Signup is restricted to @northeastern.edu email addresses.') - // return - // } + if (!trimmed.toLowerCase().endsWith('@northeastern.edu')) { + setError('Signup is restricted to @northeastern.edu email addresses.') + return + } setSubmitting(true) const res = await fetch('/api/signup/request', { method: 'POST',