Update Form Authenticator

This commit is contained in:
luke-else 2021-11-15 21:22:24 +00:00
parent 1ac94a533f
commit c47c0b434b

View File

@ -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)
{