Remove a user of the old auth interface
parent
dce04df4f2
commit
5b06079a83
|
@ -110,12 +110,13 @@ namespace OpenSim.Server.Handlers.Neighbour
|
|||
httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized;
|
||||
return result;
|
||||
}
|
||||
if (!m_AuthenticationService.VerifyKey(regionID, authToken))
|
||||
{
|
||||
m_log.InfoFormat("[RegionPostHandler]: Authentication failed for neighbour message {0}", path);
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.Forbidden;
|
||||
return result;
|
||||
}
|
||||
// TODO: Rethink this
|
||||
//if (!m_AuthenticationService.VerifyKey(regionID, authToken))
|
||||
//{
|
||||
// m_log.InfoFormat("[RegionPostHandler]: Authentication failed for neighbour message {0}", path);
|
||||
// httpResponse.StatusCode = (int)HttpStatusCode.Forbidden;
|
||||
// return result;
|
||||
//}
|
||||
m_log.DebugFormat("[RegionPostHandler]: Authentication succeeded for {0}", regionID);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue