Skip to content

Commit

Permalink
Update epp.php
Browse files Browse the repository at this point in the history
  • Loading branch information
getpinga authored Jan 20, 2023
1 parent daf7f74 commit 7184d23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions epp.php
Original file line number Diff line number Diff line change
Expand Up @@ -2008,8 +2008,8 @@ function generateObjectPW($objType = 'none')
$lowercaseChars = "abcdefghijklmnopqrstuvwxyz";
$numbers = "1234567890";
$specialSymbols = "!=+-";
$minLength = 13;
$maxLength = 13;
$minLength = 16;
$maxLength = 18;
$length = mt_rand($minLength, $maxLength);

// Include at least one character from each set
Expand All @@ -2024,7 +2024,7 @@ function generateObjectPW($objType = 'none')
$result .= $chars[mt_rand(0, strlen($chars) - 1)];
}

return 'aA1' . $result;
return $result;
}

function generateRandomString()
Expand Down

0 comments on commit 7184d23

Please sign in to comment.