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 1e00f89 commit 76c0bd3Copy full SHA for 76c0bd3
interface/lib/classes/auth.inc.php
@@ -175,7 +175,6 @@ public function check_security_permissions($permission) {
175
}
176
177
public function get_random_password($minLength = 8, $special = false) {
178
- $minLength = $minLength || 10;
179
if($minLength < 8) $minLength = 8;
180
$maxLength = $minLength + 5;
181
$length = mt_rand($minLength, $maxLength);
0 commit comments