There was an error while loading. Please reload this page.
1 parent d28f604 commit 11855c4Copy full SHA for 11855c4
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