diff options
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginResponse.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginResponse.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs index 0da1715..011cad8 100644 --- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs +++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs | |||
@@ -56,6 +56,7 @@ namespace OpenSim.Services.LLLoginService | |||
56 | public static LLFailedLoginResponse InventoryProblem; | 56 | public static LLFailedLoginResponse InventoryProblem; |
57 | public static LLFailedLoginResponse DeadRegionProblem; | 57 | public static LLFailedLoginResponse DeadRegionProblem; |
58 | public static LLFailedLoginResponse LoginBlockedProblem; | 58 | public static LLFailedLoginResponse LoginBlockedProblem; |
59 | public static LLFailedLoginResponse UnverifiedAccountProblem; | ||
59 | public static LLFailedLoginResponse AlreadyLoggedInProblem; | 60 | public static LLFailedLoginResponse AlreadyLoggedInProblem; |
60 | public static LLFailedLoginResponse InternalError; | 61 | public static LLFailedLoginResponse InternalError; |
61 | 62 | ||
@@ -76,6 +77,10 @@ namespace OpenSim.Services.LLLoginService | |||
76 | LoginBlockedProblem = new LLFailedLoginResponse("presence", | 77 | LoginBlockedProblem = new LLFailedLoginResponse("presence", |
77 | "Logins are currently restricted. Please try again later.", | 78 | "Logins are currently restricted. Please try again later.", |
78 | "false"); | 79 | "false"); |
80 | UnverifiedAccountProblem = new LLFailedLoginResponse("presence", | ||
81 | "Your account has not yet been verified. Please check " + | ||
82 | "your email and click the provided link.", | ||
83 | "false"); | ||
79 | AlreadyLoggedInProblem = new LLFailedLoginResponse("presence", | 84 | AlreadyLoggedInProblem = new LLFailedLoginResponse("presence", |
80 | "You appear to be already logged in. " + | 85 | "You appear to be already logged in. " + |
81 | "If this is not the case please wait for your session to timeout. " + | 86 | "If this is not the case please wait for your session to timeout. " + |
@@ -325,6 +330,7 @@ namespace OpenSim.Services.LLLoginService | |||
325 | private void FillOutRegionData(GridRegion destination) | 330 | private void FillOutRegionData(GridRegion destination) |
326 | { | 331 | { |
327 | IPEndPoint endPoint = destination.ExternalEndPoint; | 332 | IPEndPoint endPoint = destination.ExternalEndPoint; |
333 | if (endPoint == null) return; | ||
328 | SimAddress = endPoint.Address.ToString(); | 334 | SimAddress = endPoint.Address.ToString(); |
329 | SimPort = (uint)endPoint.Port; | 335 | SimPort = (uint)endPoint.Port; |
330 | RegionX = (uint)destination.RegionLocX; | 336 | RegionX = (uint)destination.RegionLocX; |