diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
108 | httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; | 108 | httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; |
109 | return result; | 109 | return result; |
110 | } | 110 | } |
111 | if (!m_AuthenticationService.VerifyKey(agentID, authToken)) | 111 | if (!m_AuthenticationService.VerifyUserKey(agentID, authToken)) |
112 | { | 112 | { |
113 | m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path); | 113 | m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path); |
114 | httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; | 114 | httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; |