summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 780af0d)
raw | patch | inline | side by side (parent: 780af0d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 May 2007 07:13:35 +0000 (07:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 May 2007 07:13:35 +0000 (07:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6480 594d385d-05f5-0310-b6e9-bd551577e9d8
html/index.php | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index e911823c56da99f972e0503674f209e4ed44361e..7977dfab03cb46087fa67931475669ce426df3d3 100644 (file)
--- a/html/index.php
+++ b/html/index.php
/* 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');
new log("security","login","",array(),"Authentication failed for user \"$username\"") ;