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 17, 2023
1 parent 0a3b0f3 commit daf7f74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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 = 14;
$maxLength = 16;
$minLength = 13;
$maxLength = 13;
$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 $result;
return 'aA1' . $result;
}

function generateRandomString()
Expand Down Expand Up @@ -2054,7 +2054,7 @@ function _epp_log($func, $params = false)
{

// comment line below to see logs
return true;
//return true;

$handle = fopen(dirname(__FILE__) . '/epp.log', 'a');
ob_start();
Expand Down

0 comments on commit daf7f74

Please sign in to comment.