Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor

avinationmerge
meta7 2010-08-08 18:57:16 -07:00
commit bef6fa37b9
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;
@ -66,9 +65,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

@ -352,7 +352,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