one email => mail (many remain)

This commit is contained in:
Rick Falkvinge
2015-01-29 12:18:16 +01:00
parent b190a1b0e9
commit 2ada0a944b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)
{
+1 -1
View File
@@ -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)
{
+1 -1
View File
@@ -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