Update Form Authenticator
This commit is contained in:
parent
1ac94a533f
commit
c47c0b434b
@ -9,7 +9,7 @@ namespace EFB.Controllers.Form
|
|||||||
{
|
{
|
||||||
|
|
||||||
public static bool ValidateEMail(string EMail){
|
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)
|
if (EMail.Count(x => x == '@') == 1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user