Remove "Could not authorize your session into the region" message in favor

of sending back the actual error message provided by the sim.
prebuild-update
Melanie 2010-08-09 00:48:08 +01:00
parent a5e4a2bb3b
commit bc7ee7ba88
2 changed files with 1 additions and 5 deletions

View File

@ -52,7 +52,6 @@ namespace OpenSim.Services.LLLoginService
protected string m_login;
public static LLFailedLoginResponse UserProblem;
public static LLFailedLoginResponse AuthorizationProblem;
public static LLFailedLoginResponse GridProblem;
public static LLFailedLoginResponse InventoryProblem;
public static LLFailedLoginResponse DeadRegionProblem;
@ -65,9 +64,6 @@ namespace OpenSim.Services.LLLoginService
UserProblem = new LLFailedLoginResponse("key",
"Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.",
"false");
AuthorizationProblem = new LLFailedLoginResponse("key",
"Error connecting to grid. Unable to authorize your session into the region.",
"false");
GridProblem = new LLFailedLoginResponse("key",
"Error connecting to the desired location. Try connecting to another region.",
"false");

View File

@ -345,7 +345,7 @@ namespace OpenSim.Services.LLLoginService
{
m_PresenceService.LogoutAgent(session);
m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason);
return LLFailedLoginResponse.AuthorizationProblem;
return new LLFailedLoginResponse("key", reason, "false");
}
// Get Friends list