From 2bbeecea2fa80f5f889cfd27ff6ca2412f1ac7d2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 10 Nov 2019 13:53:41 +0100 Subject: [PATCH] Fix missing the action= into log of login --- 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 f5844e6ed31..5d2e7f95d00 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -612,7 +612,7 @@ if (! defined('NOLOGIN')) if (! $login || (in_array('ldap', $authmode) && empty($passwordtotest))) // With LDAP we refused empty password because some LDAP are "opened" for anonymous access so connexion is a success. { // No data to test login, so we show the login page - dol_syslog("--- Access to ".$_SERVER["PHP_SELF"]." showing the login form and exit"); + dol_syslog("--- Access to ".$_SERVER["PHP_SELF"]." action=".GETPOST('action','aZ09').", showing the login form and exit"); if (defined('NOREDIRECTBYMAINTOLOGIN')) return 'ERROR_NOT_LOGGED'; else dol_loginfunction($langs, $conf, (! empty($mysoc)?$mysoc:'')); exit;