task #5022 : Gestion de la sécurité sur dolibarr
This commit is contained in:
parent
b428c223f1
commit
be0e099962
@ -203,10 +203,11 @@ if (! session_id() || ! isset($_SESSION["dol_login"]))
|
|||||||
{
|
{
|
||||||
// Echec authentification
|
// Echec authentification
|
||||||
dolibarr_syslog("Authentification ko (en mode Pear Base Dolibarr) pour '".$_POST["username"]."'");
|
dolibarr_syslog("Authentification ko (en mode Pear Base Dolibarr) pour '".$_POST["username"]."'");
|
||||||
|
sleep(2);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Non authentifie
|
// Non authentifie, un redirect sur page logon a été envoyé, on peut finir.
|
||||||
//dolibarr_syslog("Authentification non realise");
|
//dolibarr_syslog("Authentification non realise");
|
||||||
}
|
}
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user