Bug fix for standalone HG login. VerifySession should be local for local users.
parent
bc02eab4b9
commit
c41d2a1e3d
|
@ -316,6 +316,16 @@ namespace OpenSim.Region.Communications.Hypergrid
|
|||
}
|
||||
#endregion
|
||||
|
||||
public override bool VerifySession(UUID userID, UUID sessionID)
|
||||
{
|
||||
string url = string.Empty;
|
||||
if ((m_localUserServices != null) && (!IsForeignUser(userID, out url)))
|
||||
return m_localUserServices.VerifySession(userID, sessionID);
|
||||
else
|
||||
return base.VerifySession(userID, sessionID);
|
||||
}
|
||||
|
||||
|
||||
protected override string GetUserServerURL(UUID userID)
|
||||
{
|
||||
string serverURL = string.Empty;
|
||||
|
|
|
@ -847,7 +847,7 @@ namespace OpenSim.Region.Communications.OGS1
|
|||
}
|
||||
}
|
||||
|
||||
public bool VerifySession(UUID userID, UUID sessionID)
|
||||
public virtual bool VerifySession(UUID userID, UUID sessionID)
|
||||
{
|
||||
m_log.DebugFormat("[OGS1 USER SERVICES]: Verifying user session for " + userID);
|
||||
return AuthClient.VerifySession(GetUserServerURL(userID), userID, sessionID);
|
||||
|
|
Loading…
Reference in New Issue