From: x2003bruneau Date: Wed, 22 Aug 2007 14:57:16 +0000 (+0000) Subject: Don't send the unsage-IP connection warning more than once... X-Git-Tag: xorg/0.9.15~199 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ee71ba926e894c1082d7fc059ad6f3edf5fbd5a4;p=platal.git Don't send the unsage-IP connection warning more than once... session.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1927 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/xorg/session.inc.php b/include/xorg/session.inc.php index d98f08e..3a251f9 100644 --- a/include/xorg/session.inc.php +++ b/include/xorg/session.inc.php @@ -277,8 +277,8 @@ function start_connexion ($uid, $identified) $mail_subject .= ' - '; } $mail_subject .= "Une IP surveillee a tente de se connecter"; - send_warning_mail($mail_subject); if (check_ip('ban')) { + send_warning_mail($mail_subject); $_SESSION = array(); global $page; $page->trig("Une erreur est survenue lors de la procédure d'authentification. "