From be1f294292080d92ce9fcbd6cc85405e95b191cb Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 25 May 2007 07:11:32 +0000 Subject: [PATCH] Updatd index.php git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6479 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\""); -- 2.30.2