diff options
author | Justin Clarke Casey | 2008-04-15 18:10:42 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-04-15 18:10:42 +0000 |
commit | 39165f3de4e4a207e4461a8d94acaff611dd9873 (patch) | |
tree | 0262019f4ef5e83ed9e8bfdff29a0dcf5dd8384d /OpenSim/Framework/Communications/LoginResponse.cs | |
parent | Fixed LSL State support. (diff) | |
download | opensim-SC_OLD-39165f3de4e4a207e4461a8d94acaff611dd9873.zip opensim-SC_OLD-39165f3de4e4a207e4461a8d94acaff611dd9873.tar.gz opensim-SC_OLD-39165f3de4e4a207e4461a8d94acaff611dd9873.tar.bz2 opensim-SC_OLD-39165f3de4e4a207e4461a8d94acaff611dd9873.tar.xz |
* Send a meaningful response to both the user server console and the client if a login fails because the inventory service has failed.
Diffstat (limited to 'OpenSim/Framework/Communications/LoginResponse.cs')
-rw-r--r-- | OpenSim/Framework/Communications/LoginResponse.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/LoginResponse.cs b/OpenSim/Framework/Communications/LoginResponse.cs index 763274a..53ec796 100644 --- a/OpenSim/Framework/Communications/LoginResponse.cs +++ b/OpenSim/Framework/Communications/LoginResponse.cs | |||
@@ -238,6 +238,19 @@ namespace OpenSim.Framework.UserManagement | |||
238 | "Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.", | 238 | "Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.", |
239 | "false"); | 239 | "false"); |
240 | } | 240 | } |
241 | |||
242 | /// <summary> | ||
243 | /// Response to indicate that login failed because the agent's inventory was not available. | ||
244 | /// </summary> | ||
245 | /// <returns></returns> | ||
246 | public XmlRpcResponse CreateLoginInventoryFailedResponse() | ||
247 | { | ||
248 | return GenerateFailureResponse( | ||
249 | "key", | ||
250 | "The agent inventory service is not responding. Please notify the grid operator if this is a grid sim," | ||
251 | + " or the sim operator if this is a standalone sim.", | ||
252 | "false"); | ||
253 | } | ||
241 | 254 | ||
242 | public XmlRpcResponse CreateAlreadyLoggedInResponse() | 255 | public XmlRpcResponse CreateAlreadyLoggedInResponse() |
243 | { | 256 | { |