diff --git a/Logic/Security/Authentication.cs b/Logic/Security/Authentication.cs index a09506bb..309e5151 100644 --- a/Logic/Security/Authentication.cs +++ b/Logic/Security/Authentication.cs @@ -29,15 +29,11 @@ namespace Swarmops.Logic.Security /// public static Person Authenticate (string loginToken, string password) { - SwarmopsLog.DebugLog(string.Format("Authenticating '{0}'", loginToken, password)); - // Get the list of people that match the login token. People candidatePeople = GetPeopleByLoginToken (loginToken); Person authenticatedUser = null; - SwarmopsLog.DebugLog ("- candidate count: " + candidatePeople.Count); - // For every person in the list, test the supplied password against the current and legacy hash schemes. foreach (Person candidate in candidatePeople) @@ -52,8 +48,6 @@ namespace Swarmops.Logic.Security { if (membership.Active) { - SwarmopsLog.DebugLog ("- candidate #" + candidate.Identity + " has a valid participation"); - hasActiveMemberships = true; break; } @@ -63,7 +57,6 @@ namespace Swarmops.Logic.Security if (!hasActiveMemberships) { - SwarmopsLog.DebugLog("- candidate #" + candidate.Identity + " has NO valid participations"); continue; } diff --git a/Logic/Swarm/Person.cs b/Logic/Swarm/Person.cs index 29bd7f18..c83e1c29 100644 --- a/Logic/Swarm/Person.cs +++ b/Logic/Swarm/Person.cs @@ -793,11 +793,7 @@ namespace Swarmops.Logic.Swarm public Participation AddParticipation (Organization organization, DateTime expires) { - SwarmopsLog.DebugLog (string.Format("- adding participation in {0} until {1:yyyy-MM-dd HH:mm:ss}", organization.Name, expires)); - Participation participation = AddParticipation (organization.Identity, expires); - - SwarmopsLog.DebugLog ("- created participation #" + (participation != null? participation.Identity.ToString() : "null")); return participation; }