Zaktualizuj 'index.php'
This commit is contained in:
parent
85eb827840
commit
155ffe3ae3
@ -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."; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user