This commit is contained in:
parent
740bc9b262
commit
76719f5c36
|
@ -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 ("@");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue