noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/01: fix bug about login in uppercase


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/01: fix bug about login in uppercase
Date: Fri, 09 Oct 2015 21:13:42 +0000

sparkyx pushed a commit to tag rel6901
in repository noalyss.

commit 33dd64c6754a6cf9d141a0567c5b8f9424a38acd
Author: Dany De Bontridder <address@hidden>
Date:   Fri Oct 9 23:07:20 2015 +0200

    fix bug about login in uppercase
---
 html/login.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/html/login.php b/html/login.php
index 5b8725f..baa6188 100644
--- a/html/login.php
+++ b/html/login.php
@@ -37,12 +37,13 @@ if (defined('MULTI') && MULTI == 0)
 
 if (  isset ($_POST["p_user"] ) )
 {
-    $g_user=sql_string($_POST["p_user"]);
+    $g_user=strtolower(sql_string($_POST["p_user"]));
     $g_pass=$_POST["p_pass"];
     $_SESSION['g_user']=$g_user;
     $_SESSION['g_pass']=$g_pass;
 
 
+
     /*
      * Check repository version
      */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]