aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers
diff options
context:
space:
mode:
authorDiva Canto2015-05-11 19:55:23 -0700
committerDiva Canto2015-05-11 19:55:23 -0700
commit923a57a91fa9629a844da6cd59ca8e9d2b0fbcde (patch)
tree859b98b1cdfb51c485d4704e3d0a1292300ca446 /OpenSim/Server/Handlers
parentForgot to delete an unused project from Prebuild. Done now. (diff)
downloadopensim-SC_OLD-923a57a91fa9629a844da6cd59ca8e9d2b0fbcde.zip
opensim-SC_OLD-923a57a91fa9629a844da6cd59ca8e9d2b0fbcde.tar.gz
opensim-SC_OLD-923a57a91fa9629a844da6cd59ca8e9d2b0fbcde.tar.bz2
opensim-SC_OLD-923a57a91fa9629a844da6cd59ca8e9d2b0fbcde.tar.xz
Added tests for UserAccountService in Robust. In the process fixed a couple of bugs in the network connectors. For some reason the robust-bound code had a CreateUser method, while the client-bound code had no such method. I assume someone is extending the client-side code with their own connectors. I added the missing method, but didn't add it to the service interface.
Diffstat (limited to 'OpenSim/Server/Handlers')
-rw-r--r--OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
index a77d78e..21eb790 100644
--- a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
@@ -257,8 +257,7 @@ namespace OpenSim.Server.Handlers.UserAccounts
257 257
258 byte[] CreateUser(Dictionary<string, object> request) 258 byte[] CreateUser(Dictionary<string, object> request)
259 { 259 {
260 if (! 260 if (! request.ContainsKey("FirstName")
261 request.ContainsKey("FirstName")
262 && request.ContainsKey("LastName") 261 && request.ContainsKey("LastName")
263 && request.ContainsKey("Password")) 262 && request.ContainsKey("Password"))
264 return FailureResult(); 263 return FailureResult();