]> git.sur5r.net Git - contagged/blobdiff - import.php
Fixed authentication problem in import
[contagged] / import.php
index 96579ef529e49c9fca3e0b7522eb34648eb77178..28006ed75cb9ea81769fa3bbcf2b2aa54c5ad5f3 100644 (file)
@@ -3,7 +3,7 @@ require_once('inc/init.php');
 require_once('inc/Contact_Vcard_Parse.php');
 ldap_login();
 
-if(!$user){
+if(!$_SESSION['ldapab']['username']){
   header("Location: login.php");
   exit;
 }