mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Potential fix for access control bug on login introduced with SeeIntoRegion commit.
This commit is contained in:
@@ -3824,7 +3824,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
try
|
||||
{
|
||||
if (!AuthorizeUser(acd, SeeIntoRegion, out reason))
|
||||
if (!AuthorizeUser(acd, (vialogin ? false : SeeIntoRegion), out reason))
|
||||
{
|
||||
m_authenticateHandler.RemoveCircuit(acd.circuitcode);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user