aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-07-21 11:34:17 +0100
committerUbitUmarov2016-07-21 11:34:17 +0100
commit2062418c5685b6975610f54052ba93e4fd6191b1 (patch)
tree885026526dd8fc15d0a25e4b7501e20d02bb3a5a
parent add a gatekeeper login fail reason reply (diff)
downloadopensim-SC-2062418c5685b6975610f54052ba93e4fd6191b1.zip
opensim-SC-2062418c5685b6975610f54052ba93e4fd6191b1.tar.gz
opensim-SC-2062418c5685b6975610f54052ba93e4fd6191b1.tar.bz2
opensim-SC-2062418c5685b6975610f54052ba93e4fd6191b1.tar.xz
add another gatekeeper login fail reason reply
-rw-r--r--OpenSim/Services/HypergridService/GatekeeperService.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs
index e3b5f71..3c77924 100644
--- a/OpenSim/Services/HypergridService/GatekeeperService.cs
+++ b/OpenSim/Services/HypergridService/GatekeeperService.cs
@@ -275,6 +275,7 @@ namespace OpenSim.Services.HypergridService
275 275
276 if (!am.Success) 276 if (!am.Success)
277 { 277 {
278 reason = "Login failed: client " + curViewer + " is not allowed";
278 m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: client {0} is not allowed", curViewer); 279 m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: client {0} is not allowed", curViewer);
279 return false; 280 return false;
280 } 281 }
@@ -287,8 +288,8 @@ namespace OpenSim.Services.HypergridService
287 288
288 if (dm.Success) 289 if (dm.Success)
289 { 290 {
290 reason = "Login failed: Viewer " + curViewer + " is denied"; 291 reason = "Login failed: client " + curViewer + " is denied";
291 m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: viewer {0} is denied", curViewer); 292 m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: client {0} is denied", curViewer);
292 return false; 293 return false;
293 } 294 }
294 } 295 }