We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d73295 commit d7ababcCopy full SHA for d7ababc
interface/lib/classes/auth.inc.php
@@ -154,7 +154,6 @@ public function check_security_permissions($permission) {
154
}
155
156
public function get_random_password($minLength = 8, $special = false) {
157
- $minLength = $minLength || 10;
158
if($minLength < 8) $minLength = 8;
159
$maxLength = $minLength + 5;
160
$length = mt_rand($minLength, $maxLength);
0 commit comments