From 155ffe3ae30cafdc710df9ca6961f17a72ab5ecd Mon Sep 17 00:00:00 2001 From: Krystian Rzepa Date: Fri, 28 Dec 2018 19:23:07 +0000 Subject: [PATCH] Zaktualizuj 'index.php' --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index f1e18a2..722f316 100644 --- a/index.php +++ b/index.php @@ -49,7 +49,7 @@ if (isset($_POST['loguj'])) if (mysql_num_rows(mysql_query("SELECT * FROM `users` WHERE `user_login`='$login' && `user_pass`='$password' && `aktywne`='1'")) > 0) { $_SESSION['zalogowany'] = true; - $_SESSION['login'] = $login; + $_SESSION['login'] = strtolower($login); } else { echo "Wpisano zle dane lub konto nieaktywne."; } }