1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Random string length restriction removed

This commit is contained in:
SecretR
2013-09-20 13:36:03 +03:00
parent e4e9aea830
commit 11aea85198

View File

@@ -338,7 +338,7 @@ class UserHandler
*/
public function generateRandomString($pattern, $seed = '')
{
if (strlen($pattern) < 6)
if (empty($pattern))
$pattern = '##....';
$newname = '';