Skip to content

Commit

Permalink
changed default value
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkmp29 authored and mxkmp29 committed Aug 12, 2016
1 parent b006cbc commit 93d43a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/form/rule/username.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function test(SimpleXMLElement $element, $value, $group = null, Registry
$usernameLength = StringHelper::strlen($value);

// Get the minimum number of characters
$minNumChars = $params->get('minimum_length_username', 2);
$minNumChars = $params->get('minimum_length_username', 3);

// If is set minNumChars and $usernameLength does't achieve minimum lenght
if (($minNumChars) && ($usernameLength < $minNumChars))
Expand Down

0 comments on commit 93d43a8

Please sign in to comment.