From: hickert Date: Fri, 25 May 2007 07:11:32 +0000 (+0000) Subject: Updatd index.php X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=be1f294292080d92ce9fcbd6cc85405e95b191cb;p=gosa.git Updatd index.php git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6479 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/index.php b/html/index.php index b20c920e6..c33e7bbcd 100644 --- a/html/index.php +++ b/html/index.php @@ -270,7 +270,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])){ /* Login as user, initialize user ACL's */ $ui= ldap_login_user($username, $_POST["password"]); - if ($ui === NULL || $ui == 0){ + if ($ui === NULL || !$ui ){ $message= _("Please check the username/password combination."); $smarty->assign ('nextfield', 'password'); gosa_log ("Authentication failed for user \"$username\"");