We had a spam user security issue last week that resulted in a crash of the server, so I'm looking for ways to restrict sign-ups a bit. I was thinking about restricting registration on NYCDH to people with .edu and .org domains, and than giving people a way to contact us if they wanted to register through another address. Can you please let me know:
1. Am I right that the place to restrict registrations is in Network Admin > Settings > Network Settings > Limited Email Registrations?
2. Where can I find the registration page file so that I can edit it and add a note to people that explains these new registration settings?
#2 Updated by Raymond Hoh over 8 years ago
Apologies for the late reply.
The "Limited email domains" option only works if you specify the full domain (eg. cuny.edu) and not with a top-level domain (eg. .edu). This doesn't work for our use-case so I just wrote a quick plugin to only allow registrations with the .edu and .org top-level domains for email addresses. It is already active on NYCDH.
For no. 2, it isn't possible to add a note without either modifying the registration template or adding a quick plugin to add or change the registration text. Please let me know what you want the text to be and I'll add a quick code snippet to change the text.
#3 Updated by Matt Gold over 8 years ago
Many thanks for your help with this, Ray!
Could you please add this text snippet to the sign-up page, under the email entry box?
"Registrations are currently allowed only for .edu and .org addresses. To register with a different address, please write to firstname.lastname@example.org to request an account."