mirror of
https://github.com/friendica/friendica
synced 2025-04-25 12:30:11 +00:00
autoname calls
implement getRandomName function
This commit is contained in:
parent
0e01568ccd
commit
b99925060a
5 changed files with 6 additions and 5 deletions
|
@ -270,7 +270,7 @@ class User
|
|||
*/
|
||||
public static function generateNewPassword()
|
||||
{
|
||||
return autoname(6) . mt_rand(100, 9999);
|
||||
return Strings::getRandomName(6) . mt_rand(100, 9999);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue