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
Translated using Weblate (Portuguese (Brazil))
[jirafeau_project.git]
/
install.php
diff --git
a/install.php
b/install.php
index 2739bc8ab7a103202927321a04bed920c40bc1e5..b400988b2ac38d0f778cfe89d082eb64e1e653f0 100644
(file)
--- a/
install.php
+++ b/
install.php
@@
-154,7
+154,11
@@
if (isset($_POST['step']) && isset($_POST['next'])) {
break;
case 2:
break;
case 2:
- $cfg['admin_password'] = hash('sha256', $_POST['admin_password']);
+ if (strlen($_POST['admin_password'])) {
+ $cfg['admin_password'] = hash('sha256', $_POST['admin_password']);
+ } else {
+ $cfg['admin_password'] = '';
+ }
jirafeau_export_cfg($cfg);
break;
jirafeau_export_cfg($cfg);
break;
patrick-canterino.de