Zaktualizuj 'nowe_konto.php'

This commit is contained in:
Krystian Rzepa 2019-01-01 14:40:46 +00:00
parent dd1b7297a2
commit cc8a1223ad
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if (isset($_POST['register']))
if ($haslo1 == $haslo2)
{
mysql_query("INSERT INTO `users` (`user_login`, `user_pass`)
VALUES ('".$login."', '".$haslo1."');");
VALUES ('".$login."', '".md5($haslo1)."');");
$login = strtolower($login);
mysqli_query($db, "CREATE TABLE IF NOT EXISTS `tasks_$login` (