From 87f7fc02650b0263d2a0a5944d1410832da74500 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Thu, 24 Oct 2024 00:57:21 -0400 Subject: [PATCH] tweak: clarify blocked domain message --- src/backend/src/routers/signup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/src/routers/signup.js b/src/backend/src/routers/signup.js index ad9e41d03..4aa7fa6cc 100644 --- a/src/backend/src/routers/signup.js +++ b/src/backend/src/routers/signup.js @@ -149,7 +149,7 @@ module.exports = eggspress(['/signup'], { if ( config.blocked_email_domains ) { for ( const suffix of config.blocked_email_domains ) { if ( clean_email.endsWith(suffix) ) { - return res.status(400).send('Please enter a valid email address.'); + return res.status(400).send('This email domain is not allowed.'); } } }