From 1d586553e0c4a35620627107eaeb60b6906c9e9c Mon Sep 17 00:00:00 2001 From: genuineparts Date: Sun, 22 Jun 2025 16:16:51 +0200 Subject: [PATCH] bugfix --- install/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.php b/install/install.php index decc7d0..4eb3675 100755 --- a/install/install.php +++ b/install/install.php @@ -683,7 +683,7 @@ define(\'DEBUG\', FALSE); $pass=hash('sha256',$db->escape($salt.$_POST['pass'])); $username=$db->escape($_POST['user']); $email=$db->escape($_POST['email']); - $db->query("INSERT INTO `" . $config['prefix'] . "users` (`username`,`password`,`loginkey`,`salt`,`email`,`active`,`since`,`role`) VALUES ('".$username."','".$pass."', '".$salt."','".$key."', '".$email."', '".$active."','".time()."','2')"); + $db->query("INSERT INTO `" . $config['prefix'] . "users` (`username`,`password`,`loginkey`,`salt`,`email`,`active`,`since`,`role`) VALUES ('".$username."','".$pass."','".$key."', '".$salt."', '".$email."', '".$active."','".time()."','2')"); header("Location: install.php?step=finish"); }else{ $pdata=$_POST;