Skip to content

Commit 76c0bd3

Browse files
author
Marius Cramer
committed
- fixed FS#3907 - "Reset password" generates too short passwords
1 parent 1e00f89 commit 76c0bd3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

interface/lib/classes/auth.inc.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ public function check_security_permissions($permission) {
175175
}
176176

177177
public function get_random_password($minLength = 8, $special = false) {
178-
$minLength = $minLength || 10;
179178
if($minLength < 8) $minLength = 8;
180179
$maxLength = $minLength + 5;
181180
$length = mt_rand($minLength, $maxLength);

0 commit comments

Comments
 (0)