mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Remove another IAuthentificationInterface user
This commit is contained in:
@@ -109,12 +109,13 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized;
|
||||
return result;
|
||||
}
|
||||
if (!m_AuthenticationService.VerifyKey(agentID, authToken))
|
||||
{
|
||||
m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path);
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.Forbidden;
|
||||
return result;
|
||||
}
|
||||
// TODO: Rethink this
|
||||
//if (!m_AuthenticationService.VerifyKey(agentID, authToken))
|
||||
//{
|
||||
// m_log.InfoFormat("[AgentPostHandler]: Authentication failed for agent message {0}", path);
|
||||
// httpResponse.StatusCode = (int)HttpStatusCode.Forbidden;
|
||||
// return result;
|
||||
//}
|
||||
m_log.DebugFormat("[AgentPostHandler]: Authentication succeeded for {0}", agentID);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user