From 16a9bdc38708c0e3b81eae3a79216214d493b57e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 5 Mar 2019 20:16:50 +0300 Subject: make_password: generate longer passwords by default, use better random function if available --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 8c0654f3c..acc53c84c 100755 --- a/include/functions.php +++ b/include/functions.php @@ -737,7 +737,7 @@ } } - function make_password($length = 8) { + function make_password($length = 12) { $password = ""; $possible = "0123456789abcdfghjkmnpqrstvwxyzABCDFGHJKMNPQRSTVWXYZ"; -- cgit v1.2.3