diff options
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim')
-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 2674eef..83c3dd0 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -352,7 +352,7 @@ namespace OpenSim.Services.LLLoginService | |||
352 | { | 352 | { |
353 | m_PresenceService.LogoutAgent(session); | 353 | m_PresenceService.LogoutAgent(session); |
354 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason); | 354 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason); |
355 | return LLFailedLoginResponse.AuthorizationProblem; | 355 | return new LLFailedLoginResponse("key", reason, "false"); |
356 | 356 | ||
357 | } | 357 | } |
358 | // Get Friends list | 358 | // Get Friends list |