Skip to content

Commit

Permalink
Merge pull request #13 from marcovanbeek/master
Browse files Browse the repository at this point in the history
Fixed problem with login check within Chrome 33.x and auto-completion
  • Loading branch information
splitbrain committed Mar 1, 2014
2 parents 68d6d72 + 5275b67 commit 7f0a142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ajax.php
Expand Up @@ -2,7 +2,7 @@
require_once('inc/init.php');
ldap_login();

if ($conf['userlogreq'] && $user == ''){
if ($conf['userlogreq'] && !isset($_SESSION['ldapab']['username'])){
header("HTTP/1.1 401 Access Denied");
echo '<h1>Access Denied</h1>';
exit();
Expand Down

0 comments on commit 7f0a142

Please sign in to comment.