mirror of
https://github.com/friendica/friendica
synced 2024-11-11 13:42:54 +00:00
Increase auto-generated passwords to 12 chars + leading capital
This commit is contained in:
parent
961f737f36
commit
909c9d0309
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue