Increase auto-generated passwords to 12 chars + leading capital
This commit is contained in:
parent
961f737f36
commit
909c9d0309
|
@ -280,7 +280,7 @@ class User
|
||||||
*/
|
*/
|
||||||
public static function generateNewPassword()
|
public static function generateNewPassword()
|
||||||
{
|
{
|
||||||
return Strings::getRandomName(6) . mt_rand(100, 9999);
|
return ucfirst(Strings::getRandomName(8)) . mt_rand(1000, 9999);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user