Potential fix for access control bug on login introduced with SeeIntoRegion commit.

0.7.6-extended
Diva Canto 2013-08-24 08:42:41 -07:00 committed by Justin Clark-Casey (justincc)
parent ea5bab5107
commit ed0ffae151
1 changed files with 1 additions and 1 deletions

View File

@ -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;