Merge pull request #4 from Flight-Simulator-EFB/features/login
Update Form Authenticator
This commit is contained in:
commit
d42626f166
@ -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