Merge branch 'main' into features/route
This commit is contained in:
commit
16543d9c64
@ -9,7 +9,7 @@ namespace EFB.Controllers.Form
|
||||
{
|
||||
|
||||
public static bool ValidateEMail(string EMail){
|
||||
if (EMail.Contains("@") && EMail.Contains(".") && !EMail.Contains(" "))
|
||||
if (EMail != null && EMail.Contains("@") && EMail.Contains(".") && !EMail.Contains(" "))
|
||||
{
|
||||
if (EMail.Count(x => x == '@') == 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user