Code

Updated login handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 4 Oct 2010 08:14:04 +0000 (08:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 4 Oct 2010 08:14:04 +0000 (08:14 +0000)
-fixed problem with quotes in passwords

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19900 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/index.php

index 5c9207166009385b446d1fd04f92aed948fdc8af..059867a057280b24c1b53651496d22217ad5b5fd 100644 (file)
@@ -305,7 +305,7 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces
                 exit;
             }
         } else {
-            $ui= ldap_login_user($username, $_POST["password"]);
+            $ui= ldap_login_user($username, get_post("password"));
         }
         if ($ui === NULL || !$ui) {
             $message= _("Please check the username/password combination!");