From 7184d23f8ac08fd0d817cea6607cd43c28e3b65d Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:11:40 +0200 Subject: [PATCH] Update epp.php --- epp.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/epp.php b/epp.php index e068e27..1577eb8 100644 --- a/epp.php +++ b/epp.php @@ -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 @@ -2024,7 +2024,7 @@ function generateObjectPW($objType = 'none') $result .= $chars[mt_rand(0, strlen($chars) - 1)]; } - return 'aA1' . $result; + return $result; } function generateRandomString()