mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 12:25:56 +00:00
make_password: generate longer passwords by default, use better random function if available
This commit is contained in:
@@ -737,7 +737,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
function make_password($length = 8) {
|
||||
function make_password($length = 12) {
|
||||
|
||||
$password = "";
|
||||
$possible = "0123456789abcdfghjkmnpqrstvwxyzABCDFGHJKMNPQRSTVWXYZ";
|
||||
|
||||
Reference in New Issue
Block a user