diff options
author | Melanie | 2010-08-09 00:49:15 +0100 |
---|---|---|
committer | Melanie | 2010-08-09 00:49:15 +0100 |
commit | 52f49b2a78a3d942da3211855852341b20106c24 (patch) | |
tree | 812b26513939ed4ba74cde42a707a7bbd20f922c | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | Remove "Could not authorize your session into the region" message in favor (diff) | |
download | opensim-SC-52f49b2a78a3d942da3211855852341b20106c24.zip opensim-SC-52f49b2a78a3d942da3211855852341b20106c24.tar.gz opensim-SC-52f49b2a78a3d942da3211855852341b20106c24.tar.bz2 opensim-SC-52f49b2a78a3d942da3211855852341b20106c24.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginResponse.cs | 4 | ||||
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs index c1da463..011cad8 100644 --- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs +++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs | |||
@@ -52,7 +52,6 @@ namespace OpenSim.Services.LLLoginService | |||
52 | protected string m_login; | 52 | protected string m_login; |
53 | 53 | ||
54 | public static LLFailedLoginResponse UserProblem; | 54 | public static LLFailedLoginResponse UserProblem; |
55 | public static LLFailedLoginResponse AuthorizationProblem; | ||
56 | public static LLFailedLoginResponse GridProblem; | 55 | public static LLFailedLoginResponse GridProblem; |
57 | public static LLFailedLoginResponse InventoryProblem; | 56 | public static LLFailedLoginResponse InventoryProblem; |
58 | public static LLFailedLoginResponse DeadRegionProblem; | 57 | public static LLFailedLoginResponse DeadRegionProblem; |
@@ -66,9 +65,6 @@ namespace OpenSim.Services.LLLoginService | |||
66 | UserProblem = new LLFailedLoginResponse("key", | 65 | UserProblem = new LLFailedLoginResponse("key", |
67 | "Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.", | 66 | "Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.", |
68 | "false"); | 67 | "false"); |
69 | AuthorizationProblem = new LLFailedLoginResponse("key", | ||
70 | "Error connecting to grid. Unable to authorize your session into the region.", | ||
71 | "false"); | ||
72 | GridProblem = new LLFailedLoginResponse("key", | 68 | GridProblem = new LLFailedLoginResponse("key", |
73 | "Error connecting to the desired location. Try connecting to another region.", | 69 | "Error connecting to the desired location. Try connecting to another region.", |
74 | "false"); | 70 | "false"); |
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index f9fe7f0..ddeb14f 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -351,7 +351,7 @@ namespace OpenSim.Services.LLLoginService | |||
351 | { | 351 | { |
352 | m_PresenceService.LogoutAgent(session); | 352 | m_PresenceService.LogoutAgent(session); |
353 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason); | 353 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason); |
354 | return LLFailedLoginResponse.AuthorizationProblem; | 354 | return new LLFailedLoginResponse("key", reason, "false"); |
355 | 355 | ||
356 | } | 356 | } |
357 | // Get Friends list | 357 | // Get Friends list |