From 6e494e5de57d248e8c45d8a185d88fa06ee4b160 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 3 Jun 2009 19:49:26 +0000 Subject: Committing the partial refactor of authentication services. No user functionlity will eat your babies, etc --- OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Server/Handlers/Simulation') diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 0d7a493..dd32ec9 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs @@ -108,7 +108,7 @@ namespace OpenSim.Server.Handlers.Simulation httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; return result; } - if (!m_AuthenticationService.VerifyKey(agentID, authToken)) + if (!m_AuthenticationService.VerifyUserKey(agentID, authToken)) { m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path); httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; -- cgit v1.1