Minor indentation cleanup.
parent
eaec7cf39c
commit
ca0810a103
|
@ -136,10 +136,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Authorization
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(scene!=null)
|
if(scene != null)
|
||||||
{
|
{
|
||||||
UserProfileData profile = scene.CommsManager.UserService.GetUserProfile(new UUID(userID));
|
UserProfileData profile = scene.CommsManager.UserService.GetUserProfile(new UUID(userID));
|
||||||
isAuthorized = IsAuthorizedForRegion(userID, profile.FirstName, profile.SurName,profile.Email,scene.RegionInfo.RegionName,regionID);
|
isAuthorized = IsAuthorizedForRegion(userID, profile.FirstName, profile.SurName,
|
||||||
|
profile.Email, scene.RegionInfo.RegionName, regionID);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -88,7 +88,7 @@ namespace OpenSim.Services.Connectors
|
||||||
m_ResponseOnFailure = responseOnFailure;
|
m_ResponseOnFailure = responseOnFailure;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsAuthorizedForRegion(string userID,string firstname, string surname, string email, string regionName, string regionID)
|
public bool IsAuthorizedForRegion(string userID, string firstname, string surname, string email, string regionName, string regionID)
|
||||||
{
|
{
|
||||||
// do a remote call to the authorization server specified in the AuthorizationServerURI
|
// do a remote call to the authorization server specified in the AuthorizationServerURI
|
||||||
m_log.InfoFormat("[AUTHORIZATION CONNECTOR]: IsAuthorizedForRegion checking {0} at remote server {1}", userID, m_ServerURI);
|
m_log.InfoFormat("[AUTHORIZATION CONNECTOR]: IsAuthorizedForRegion checking {0} at remote server {1}", userID, m_ServerURI);
|
||||||
|
|
Loading…
Reference in New Issue