git.p6c8.net
/
jirafeau_project.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[FEATURE] Add »quarter« expiration time
[jirafeau_project.git]
/
install.php
diff --git
a/install.php
b/install.php
index c537bdd5d6661b4fa01e17f59594ed20b02556b9..ae4bd99b4d0df702fe9ae1161b4b4f50337556b5 100644
(file)
--- a/
install.php
+++ b/
install.php
@@
-166,7
+166,7
@@
if (isset ($_POST['step']) && isset ($_POST['next']))
break;
case 2:
break;
case 2:
- $cfg['admin_password'] =
$_POST['admin_password']
;
+ $cfg['admin_password'] =
hash('sha256', $_POST['admin_password'])
;
jirafeau_export_cfg ($cfg);
break;
jirafeau_export_cfg ($cfg);
break;
@@
-232,7
+232,7
@@
default:
"<?php echo t('Next step'); ?>" /></td> </tr> </table>
</fieldset> </form> </div> <?php
break;
"<?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);
case 2:
?><h2><?php printf (t('Installation of Jirafeau') . ' - ' . t('step') .
' %d ' . t('out of') . ' %d', 2, 4);
patrick-canterino.de