Zaktualizuj 'index.php'

This commit is contained in:
Krystian Rzepa 2018-12-28 19:23:07 +00:00
parent 85eb827840
commit 155ffe3ae3

View File

@ -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."; }
}