X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/60530d95ccf26f833db80b08c2a0a456f69e3aad..e2db43bbc99ff20f37bf8ccc09e11661602b39d1:/install.php?ds=sidebyside diff --git a/install.php b/install.php index c537bdd..ae4bd99 100644 --- a/install.php +++ b/install.php @@ -166,7 +166,7 @@ if (isset ($_POST['step']) && isset ($_POST['next'])) break; case 2: - $cfg['admin_password'] = $_POST['admin_password']; + $cfg['admin_password'] = hash('sha256', $_POST['admin_password']); jirafeau_export_cfg ($cfg); break; @@ -232,7 +232,7 @@ default: "<?php echo t('Next step'); ?>" /></td> </tr> </table> </fieldset> </form> </div> <?php break; - + case 2: ?><h2><?php printf (t('Installation of Jirafeau') . ' - ' . t('step') . ' %d ' . t('out of') . ' %d', 2, 4);