Hylke Bons 2018-03-01 15:49:01 +00:00
parent dd97d564be
commit 9c201803bc

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 ("@");
}
}
}