YAFLogo

ryguy92
  • ryguy92
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
9 years ago
Hello. I'm running YAF on my own private network and the email addresses end in @****.bluenet. When I try to register with that email it says that a valid email is required. I was wondering where I can change the settings so the email addresses ending in bluenet can be accepted. Thank you!
Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago
You need to modify ValidationExpression in the file ../pages/register.ascx from...

ValidationExpression="^([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}$"

to...

ValidationExpression="^([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,7}$"