mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Random string length restriction removed
This commit is contained in:
@@ -338,7 +338,7 @@ class UserHandler
|
|||||||
*/
|
*/
|
||||||
public function generateRandomString($pattern, $seed = '')
|
public function generateRandomString($pattern, $seed = '')
|
||||||
{
|
{
|
||||||
if (strlen($pattern) < 6)
|
if (empty($pattern))
|
||||||
$pattern = '##....';
|
$pattern = '##....';
|
||||||
|
|
||||||
$newname = '';
|
$newname = '';
|
||||||
|
Reference in New Issue
Block a user