add another gatekeeper login fail reason reply
parent
475087de79
commit
2062418c56
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue