There was an error while loading. Please reload this page.
2 parents c4a2572 + 11855c4 commit 3dc9148Copy full SHA for 3dc9148
1 file changed
install/contorl.php
@@ -8,7 +8,7 @@
8
if (isset($_POST['password'])) {
9
if ($_POST['password'] === $_POST['repassword']) {
10
11
- $config['password'] = hash('sha256', $_POST['password']);
+ $config['password'] = password_hash($_POST['password'], PASSWORD_DEFAULT);
12
$config['user'] = $_POST['user'];
13
} else {
14
0 commit comments