From ea631c3e80e68493a37c806523372f6b96595231 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 16 Sep 2011 17:31:12 +0000 Subject: [PATCH] Qual: Removed all PHPCodesniffer error. Qual: Removed a TODO. Fix: A lib should not use a global $_POST. --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 8d51312eaf9..a043273b834 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -368,7 +368,7 @@ if (! defined('NOLOGIN')) // Validation of login with a third party login module method if (is_array($conf->login_method_modules) && !empty($conf->login_method_modules)) { - $login = getLoginMethod(); + $login = getLoginMethod($_POST["username"],$_POST["password"],$_POST["entity"]); if ($login) $test=false; }