diff --git a/src/Model/User.php b/src/Model/User.php index f24a0a298..9fe6e7428 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -280,7 +280,7 @@ class User */ public static function generateNewPassword() { - return Strings::getRandomName(6) . mt_rand(100, 9999); + return ucfirst(Strings::getRandomName(8)) . mt_rand(1000, 9999); } /**