mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix log level
This commit is contained in:
parent
519afdf377
commit
d81e081e1e
|
|
@ -850,7 +850,7 @@ if (!defined('NOLOGIN')) {
|
|||
// End test login / passwords
|
||||
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 ".(empty($_SERVER["REQUEST_METHOD"]) ? '' : $_SERVER["REQUEST_METHOD"].' ').$_SERVER["PHP_SELF"]." - action=".GETPOST('action', 'aZ09')." - actionlogin=".GETPOST('actionlogin', 'aZ09')." - showing the login form and exit", LOG_INFO);
|
||||
dol_syslog("--- Access to ".(empty($_SERVER["REQUEST_METHOD"]) ? '' : $_SERVER["REQUEST_METHOD"].' ').$_SERVER["PHP_SELF"]." - action=".GETPOST('action', 'aZ09')." - actionlogin=".GETPOST('actionlogin', 'aZ09')." - showing the login form and exit", LOG_NOTICE);
|
||||
if (defined('NOREDIRECTBYMAINTOLOGIN')) {
|
||||
// When used with NOREDIRECTBYMAINTOLOGIN set, the http header must already be set when including the main.
|
||||
// See example with selectsearchbox.php. This case is reserverd for the selectesearchbox.php so we can
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user