Increase auto-generated passwords to 12 chars + leading capital

This commit is contained in:
Hypolite Petovan 2019-01-01 01:06:55 -05:00
parent 961f737f36
commit 909c9d0309

View File

@ -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);
}
/**