X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/4823b32b6ce68f7a6a0949c225c808da4979506f..c32806657b3b9e1548d5cf6c84a9d1f96dea0617:/index.php?ds=sidebyside diff --git a/index.php b/index.php index 24ce25c..24565bd 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,7 @@ require(JIRAFEAU_ROOT . 'lib/functions.php'); require(JIRAFEAU_ROOT . 'lib/lang.php'); if ($cfg['download_password_requirement'] === "generated"){ - $download_pass = jirafeau_gen_download_pass(); + $download_pass = jirafeau_gen_download_pass($cfg['download_password_gen_len'], $cfg['download_password_gen_chars']); } check_errors($cfg); @@ -177,7 +177,12 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) {