aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base/www/include
diff options
context:
space:
mode:
authorM.Gergo2020-09-10 13:20:03 +0200
committerM.Gergo2020-09-10 13:20:03 +0200
commit847eb4a21606966ac5573c6ed6df878eff93841a (patch)
treee2f5a86ee00ec0335b696c0446dee11ae6f59534 /mayor-orig/mayor-base/www/include
parent05cd10ac470512a35ac392856baabe8b0619add5 (diff)
downloadmayor-rev4680.tar.gz
mayor-rev4680.zip
Rev: 4680rev4680
Diffstat (limited to 'mayor-orig/mayor-base/www/include')
-rw-r--r--mayor-orig/mayor-base/www/include/backend/ads/session/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mayor-orig/mayor-base/www/include/backend/ads/session/base.php b/mayor-orig/mayor-base/www/include/backend/ads/session/base.php
index 3a727c3b..edb47858 100644
--- a/mayor-orig/mayor-base/www/include/backend/ads/session/base.php
+++ b/mayor-orig/mayor-base/www/include/backend/ads/session/base.php
@@ -138,7 +138,7 @@
$userDn = ADSuserAccountToDn($userAccount, $toPolicy);
if (in_array($group, $AUTH[$toPolicy]['categories'])) {
- if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true;
+ if (strpos(kisbetus($userDn), ',ou='.ekezettelen($group).',') !== false) return true;
# Ha nincs megfelelő ou-ban, akkor nézzük a csoport tagságot - így berakható időszakosan akárki pl a titkárság kategóriába...
# else return false;
}