aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server
diff options
context:
space:
mode:
authorDiva Canto2010-01-02 20:16:21 -0800
committerDiva Canto2010-01-02 20:16:21 -0800
commit8bed461957c38fb90a65a148d3f3791e9e0222f8 (patch)
tree02fff66df5f96b292e9ebc8d606b53cfae478c90 /OpenSim/Server
parentFlattening the ServiceURLs (diff)
downloadopensim-SC-8bed461957c38fb90a65a148d3f3791e9e0222f8.zip
opensim-SC-8bed461957c38fb90a65a148d3f3791e9e0222f8.tar.gz
opensim-SC-8bed461957c38fb90a65a148d3f3791e9e0222f8.tar.bz2
opensim-SC-8bed461957c38fb90a65a148d3f3791e9e0222f8.tar.xz
Test client for remote user account connector and service. It seems to be working.
Diffstat (limited to 'OpenSim/Server')
-rw-r--r--OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
index 544ffea..b54b63e 100644
--- a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
@@ -174,14 +174,14 @@ namespace OpenSim.Server.Handlers.UserAccounts
174 174
175 byte[] StoreAccount(Dictionary<string, object> request) 175 byte[] StoreAccount(Dictionary<string, object> request)
176 { 176 {
177 if (!request.ContainsKey("account")) 177 //if (!request.ContainsKey("account"))
178 return FailureResult(); 178 // return FailureResult();
179 if (request["account"] == null) 179 //if (request["account"] == null)
180 return FailureResult(); 180 // return FailureResult();
181 if (!(request["account"] is Dictionary<string, object>)) 181 //if (!(request["account"] is Dictionary<string, object>))
182 return FailureResult(); 182 // return FailureResult();
183 183
184 UserAccount account = new UserAccount((Dictionary<string, object>)request["account"]); 184 UserAccount account = new UserAccount(request);
185 185
186 if (m_UserAccountService.StoreUserAccount(account)) 186 if (m_UserAccountService.StoreUserAccount(account))
187 return SuccessResult(); 187 return SuccessResult();