From be0e099962de6a291b9edf3ea145b3b48acbfe36 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 31 Jul 2007 18:53:30 +0000 Subject: [PATCH] =?UTF-8?q?task=20#5022=20:=20Gestion=20de=20la=20s=E9curi?= =?UTF-8?q?t=E9=20sur=20dolibarr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/main.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index d558f01f455..bbc2415086d 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -203,10 +203,11 @@ if (! session_id() || ! isset($_SESSION["dol_login"])) { // Echec authentification dolibarr_syslog("Authentification ko (en mode Pear Base Dolibarr) pour '".$_POST["username"]."'"); + sleep(2); } else { - // Non authentifie + // Non authentifie, un redirect sur page logon a été envoyé, on peut finir. //dolibarr_syslog("Authentification non realise"); } exit;