diff options
author | Andrew Dolgov <[email protected]> | 2019-03-05 20:16:50 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-05 20:16:50 +0300 |
commit | 16a9bdc38708c0e3b81eae3a79216214d493b57e (patch) | |
tree | 779067f1e4fec80fa687bf0cf107937bfc0ac5e3 /include/functions.php | |
parent | ef6d2b8a4efe2a0114e6c7c02d6522b358646c8c (diff) |
make_password: generate longer passwords by default, use better random function if available
Diffstat (limited to 'include/functions.php')
-rwxr-xr-x | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |