diff options
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 6c0b705..822edcb 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -109,12 +109,13 @@ namespace OpenSim.Server.Handlers.Simulation | |||
109 | httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; | 109 | httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized; |
110 | return result; | 110 | return result; |
111 | } | 111 | } |
112 | if (!m_AuthenticationService.VerifyKey(agentID, authToken)) | 112 | // TODO: Rethink this |
113 | { | 113 | //if (!m_AuthenticationService.VerifyKey(agentID, authToken)) |
114 | m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path); | 114 | //{ |
115 | httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; | 115 | // m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path); |
116 | return result; | 116 | // httpResponse.StatusCode = (int)HttpStatusCode.Forbidden; |
117 | } | 117 | // return result; |
118 | //} | ||
118 | m_log.DebugFormat("[AgentPostHandler]: Authentication succeeded for {0}", agentID); | 119 | m_log.DebugFormat("[AgentPostHandler]: Authentication succeeded for {0}", agentID); |
119 | } | 120 | } |
120 | 121 | ||