aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Services/Connectors/Authentication/AuthenticationServiceConnector.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Authentication/AuthenticationServiceConnector.cs b/OpenSim/Services/Connectors/Authentication/AuthenticationServiceConnector.cs
index 35f96a1..258b9b1 100644
--- a/OpenSim/Services/Connectors/Authentication/AuthenticationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Authentication/AuthenticationServiceConnector.cs
@@ -95,7 +95,13 @@ namespace OpenSim.Services.Connectors
95 m_ServerURI + "/auth/plain", 95 m_ServerURI + "/auth/plain",
96 ServerUtils.BuildQueryString(sendData)); 96 ServerUtils.BuildQueryString(sendData));
97 97
98 return String.Empty; 98 Dictionary<string, object> replyData = ServerUtils.ParseXmlResponse(
99 reply);
100
101 if (replyData["Result"].ToString() != "Success")
102 return String.Empty;
103
104 return replyData["Token"].ToString();
99 } 105 }
100 106
101 public bool Verify(UUID principalID, string token, int lifetime) 107 public bool Verify(UUID principalID, string token, int lifetime)