Hylke Bons 2018-03-01 15:49:01 +00:00
parent 740bc9b262
commit 76719f5c36

View file

@ -560,7 +560,7 @@ namespace SparkleShare {
private bool IsValidEmail (string email)
{
return new Regex (@"^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]+$", RegexOptions.IgnoreCase).IsMatch (email);
return email.Contains ("@");
}
}
}