X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=orgs.php;h=10aa301f65ee6f8f1cb2f41217c0e091ac834de5;hb=44c78e5319186933ce50e0e91c3dcc3ab08e6de7;hp=7f256b8f2d995b89f739eab541af5e24f2682705;hpb=343a57d402bcf951978bf04d63c1649030d64768;p=contagged diff --git a/orgs.php b/orgs.php index 7f256b8..10aa301 100644 --- a/orgs.php +++ b/orgs.php @@ -2,6 +2,11 @@ require_once('inc/init.php'); ldap_login(); + if ($conf['userlogreq'] && !isset($_SESSION['ldapab']['username'])){ + header('Location: login.php'); + exit(); + } + //prepare templates tpl_std(); tpl_orgs();