]> git.p6c8.net - jirafeau.git/blobdiff - index.php
fix:remove deprecated strftime
[jirafeau.git] / index.php
index ae8f11bb62c8f63ed26269e88db8db82f81f2774..24565bdc3d64c81f56c509a6e0c33568fe084950 100644 (file)
--- 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);

patrick-canterino.de