This commit is contained in:
icret
2023-03-04 13:52:50 +08:00
parent 3434282bbb
commit 746412fc10
13 changed files with 190 additions and 67 deletions

View File

@@ -8,7 +8,7 @@ if (file_exists(APP_ROOT . '/config/install.lock')) {
if (isset($_POST['password'])) {
if ($_POST['password'] == $_POST['repassword']) {
$config['password'] = md5($_POST['password']);
$config['password'] = hash('sha256', $_POST['password']);
$config['user'] = $_POST['user'];
} else {