change all

This commit is contained in:
joyqi
2021-09-01 18:27:03 +08:00
parent 4f13adcadd
commit 7db5f3c873
23 changed files with 541 additions and 448 deletions
+2 -2
View File
@@ -1257,11 +1257,11 @@ function install_step_3_perform()
}
// write user
$hasher = new PasswordHash(8, true);
$hasher = new \Utils\PasswordHash(8, true);
$installDb->query(
$installDb->insert('table.users')->rows([
'name' => $config['userName'],
'password' => $hasher->HashPassword($config['userPassword']),
'password' => $hasher->hashPassword($config['userPassword']),
'mail' => $config['userMail'],
'url' => $options->siteUrl,
'screenName' => $config['userName'],