X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/261af8ac3be2c4d9fbdae0f25c036440833d746c..abb1e0797efe2db4418ad60a8846f427167052dc:/install.php?ds=sidebyside

diff --git a/install.php b/install.php
index c537bdd..958aa1e 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;