diff --git a/Logic/Special/Sweden/SupportDatabase.cs b/Logic/Special/Sweden/SupportDatabase.cs index d5c07ad6..89db74af 100644 --- a/Logic/Special/Sweden/SupportDatabase.cs +++ b/Logic/Special/Sweden/SupportDatabase.cs @@ -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) { diff --git a/Logic/Swarm/People.cs b/Logic/Swarm/People.cs index 793d8294..4d9689f4 100644 --- a/Logic/Swarm/People.cs +++ b/Logic/Swarm/People.cs @@ -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) { diff --git a/Site5/Security/RequestPasswordReset.aspx.cs b/Site5/Security/RequestPasswordReset.aspx.cs index c869c9d9..096b92bf 100644 --- a/Site5/Security/RequestPasswordReset.aspx.cs +++ b/Site5/Security/RequestPasswordReset.aspx.cs @@ -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