Potential fix for access control bug on login introduced with SeeIntoRegion commit.
parent
5cd7bc2848
commit
f0c0376660
|
@ -3824,7 +3824,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (!AuthorizeUser(acd, SeeIntoRegion, out reason))
|
if (!AuthorizeUser(acd, (vialogin ? false : SeeIntoRegion), out reason))
|
||||||
{
|
{
|
||||||
m_authenticateHandler.RemoveCircuit(acd.circuitcode);
|
m_authenticateHandler.RemoveCircuit(acd.circuitcode);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue