diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs index 6a82165..a1d4871 100644 --- a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs +++ b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | |||
@@ -176,18 +176,7 @@ namespace OpenSim.Server.Handlers.UserAccounts | |||
176 | 176 | ||
177 | byte[] StoreAccount(Dictionary<string, object> request) | 177 | byte[] StoreAccount(Dictionary<string, object> request) |
178 | { | 178 | { |
179 | //if (!request.ContainsKey("account")) | 179 | // No can do. No changing user accounts from remote sims |
180 | // return FailureResult(); | ||
181 | //if (request["account"] == null) | ||
182 | // return FailureResult(); | ||
183 | //if (!(request["account"] is Dictionary<string, object>)) | ||
184 | // return FailureResult(); | ||
185 | |||
186 | UserAccount account = new UserAccount(request); | ||
187 | |||
188 | if (m_UserAccountService.StoreUserAccount(account)) | ||
189 | return SuccessResult(); | ||
190 | |||
191 | return FailureResult(); | 180 | return FailureResult(); |
192 | } | 181 | } |
193 | 182 | ||