fix bug about login in uppercase
This commit is contained in:
parent
8bd21d9068
commit
33dd64c675
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue