git.p6c8.net
/
jirafeau.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add sha-256 password cipher support
[jirafeau.git]
/
install.php
diff --git
a/install.php
b/install.php
index c537bdd5d6661b4fa01e17f59594ed20b02556b9..958aa1eef5809d4a80680cfb6d2b421bedb30420 100644
(file)
--- 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;
patrick-canterino.de