mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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.
This commit is contained in:
@@ -257,8 +257,7 @@ namespace OpenSim.Server.Handlers.UserAccounts
|
||||
|
||||
byte[] CreateUser(Dictionary<string, object> request)
|
||||
{
|
||||
if (!
|
||||
request.ContainsKey("FirstName")
|
||||
if (! request.ContainsKey("FirstName")
|
||||
&& request.ContainsKey("LastName")
|
||||
&& request.ContainsKey("Password"))
|
||||
return FailureResult();
|
||||
|
||||
Reference in New Issue
Block a user