Merge branch 'master' into careminster-presence-refactor
commit
52f49b2a78
|
@ -52,7 +52,6 @@ namespace OpenSim.Services.LLLoginService
|
||||||
protected string m_login;
|
protected string m_login;
|
||||||
|
|
||||||
public static LLFailedLoginResponse UserProblem;
|
public static LLFailedLoginResponse UserProblem;
|
||||||
public static LLFailedLoginResponse AuthorizationProblem;
|
|
||||||
public static LLFailedLoginResponse GridProblem;
|
public static LLFailedLoginResponse GridProblem;
|
||||||
public static LLFailedLoginResponse InventoryProblem;
|
public static LLFailedLoginResponse InventoryProblem;
|
||||||
public static LLFailedLoginResponse DeadRegionProblem;
|
public static LLFailedLoginResponse DeadRegionProblem;
|
||||||
|
@ -66,9 +65,6 @@ namespace OpenSim.Services.LLLoginService
|
||||||
UserProblem = new LLFailedLoginResponse("key",
|
UserProblem = new LLFailedLoginResponse("key",
|
||||||
"Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.",
|
"Could not authenticate your avatar. Please check your username and password, and check the grid if problems persist.",
|
||||||
"false");
|
"false");
|
||||||
AuthorizationProblem = new LLFailedLoginResponse("key",
|
|
||||||
"Error connecting to grid. Unable to authorize your session into the region.",
|
|
||||||
"false");
|
|
||||||
GridProblem = new LLFailedLoginResponse("key",
|
GridProblem = new LLFailedLoginResponse("key",
|
||||||
"Error connecting to the desired location. Try connecting to another region.",
|
"Error connecting to the desired location. Try connecting to another region.",
|
||||||
"false");
|
"false");
|
||||||
|
|
|
@ -351,7 +351,7 @@ namespace OpenSim.Services.LLLoginService
|
||||||
{
|
{
|
||||||
m_PresenceService.LogoutAgent(session);
|
m_PresenceService.LogoutAgent(session);
|
||||||
m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason);
|
m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason);
|
||||||
return LLFailedLoginResponse.AuthorizationProblem;
|
return new LLFailedLoginResponse("key", reason, "false");
|
||||||
|
|
||||||
}
|
}
|
||||||
// Get Friends list
|
// Get Friends list
|
||||||
|
|
Loading…
Reference in New Issue