From 862960c05d76e25628df37abc1588380a567d010 Mon Sep 17 00:00:00 2001 From: Nahuel Angelinetti Date: Sun, 3 Dec 2006 20:26:58 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20possibilit=C3=A9=20d'avoir=20?= =?UTF-8?q?des=20logins=20=C3=A0=20tiret,=20qui=20ne=20correspondait=20pas?= =?UTF-8?q?=20avec=20le=20message=20d'erreur=20Closes:=20#783?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bureau/class/m_admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_admin.php b/bureau/class/m_admin.php index 970ea193..18520ed6 100644 --- a/bureau/class/m_admin.php +++ b/bureau/class/m_admin.php @@ -241,7 +241,7 @@ class m_admin { } // Vérification de la conformité du login $login=strtolower($login); - if (!ereg("^[a-z0-9]*$",$login)) { //$ + if (!ereg("^[a-z-0-9]*$",$login)) { //$ $err->raise("admin",10); return false; }