Skip to content

Commit d7ababc

Browse files
author
Marius Cramer
committed
- fixed FS#3907 - "Reset password" generates too short passwords
1 parent 0d73295 commit d7ababc

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
@@ -154,7 +154,6 @@ public function check_security_permissions($permission) {
154154
}
155155

156156
public function get_random_password($minLength = 8, $special = false) {
157-
$minLength = $minLength || 10;
158157
if($minLength < 8) $minLength = 8;
159158
$maxLength = $minLength + 5;
160159
$length = mt_rand($minLength, $maxLength);

0 commit comments

Comments
 (0)