one email => mail (many remain)
This commit is contained in:
@@ -422,7 +422,7 @@ namespace Swarmops.Logic.Special.Sweden
|
||||
if (match.Success)
|
||||
{
|
||||
string email = match.Groups["email"].Value;
|
||||
People people = People.FromEmail (email);
|
||||
People people = People.FromMail (email);
|
||||
|
||||
if (people.Count > 2)
|
||||
{
|
||||
|
||||
@@ -135,7 +135,7 @@ namespace Swarmops.Logic.Swarm
|
||||
return null; // If no valid search string was supplied
|
||||
}
|
||||
|
||||
public static People FromEmail (string email)
|
||||
public static People FromMail (string email)
|
||||
{
|
||||
if (email.Length > 0)
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace Swarmops.Pages.Security
|
||||
return false; // this is the only case when we return false: a _syntactically_invalid_ address
|
||||
}
|
||||
|
||||
People concernedPeople = People.FromEmail (mailAddress); // Should result in exactly 1
|
||||
People concernedPeople = People.FromMail (mailAddress); // Should result in exactly 1
|
||||
|
||||
|
||||
string resetTicket = SupportFunctions.GenerateSecureRandomKey (16); // 16 bytes = 128 bits random key, more than good enough
|
||||
|
||||
Reference in New Issue
Block a user