From f0c0376660d767f232a1370f02e70d81728c9326 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sat, 24 Aug 2013 08:42:41 -0700 Subject: Potential fix for access control bug on login introduced with SeeIntoRegion commit. --- OpenSim/Region/Framework/Scenes/Scene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index cb12d65..d547323 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -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; -- cgit v1.1