YAFLogo

ryguy92
  • ryguy92
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
2015-03-31T14:37:57Z
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: 3.0.0 RC 2
2015-04-03T14:08:23Z
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}$"

UserPostedImage