diff options
Bug fix for standalone HG login. VerifySession should be local for local users.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Communications/Hypergrid/HGUserServices.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs index 20c7dc1..370ef12 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs | |||
@@ -316,6 +316,16 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
316 | } | 316 | } |
317 | #endregion | 317 | #endregion |
318 | 318 | ||
319 | public override bool VerifySession(UUID userID, UUID sessionID) | ||
320 | { | ||
321 | string url = string.Empty; | ||
322 | if ((m_localUserServices != null) && (!IsForeignUser(userID, out url))) | ||
323 | return m_localUserServices.VerifySession(userID, sessionID); | ||
324 | else | ||
325 | return base.VerifySession(userID, sessionID); | ||
326 | } | ||
327 | |||
328 | |||
319 | protected override string GetUserServerURL(UUID userID) | 329 | protected override string GetUserServerURL(UUID userID) |
320 | { | 330 | { |
321 | string serverURL = string.Empty; | 331 | string serverURL = string.Empty; |