add another gatekeeper login fail reason reply

httptests
UbitUmarov 2016-07-21 11:34:17 +01:00
parent 475087de79
commit 2062418c56
1 changed files with 3 additions and 2 deletions

View File

@ -275,6 +275,7 @@ namespace OpenSim.Services.HypergridService
if (!am.Success)
{
reason = "Login failed: client " + curViewer + " is not allowed";
m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: client {0} is not allowed", curViewer);
return false;
}
@ -287,8 +288,8 @@ namespace OpenSim.Services.HypergridService
if (dm.Success)
{
reason = "Login failed: Viewer " + curViewer + " is denied";
m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: viewer {0} is denied", curViewer);
reason = "Login failed: client " + curViewer + " is denied";
m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: client {0} is denied", curViewer);
return false;
}
}