YAFLogo

ryguy92
  • ryguy92
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
8 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: 3.0.3
8 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}$"
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button