Qual: Removed all PHPCodesniffer error.

Qual: Removed a TODO.
Fix: A lib should not use a global $_POST.
This commit is contained in:
Laurent Destailleur 2011-09-16 17:31:12 +00:00
parent 1c0d50d132
commit ea631c3e80

View File

@ -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;
}