Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
username character limit
Best Answers
-
Linc AdminI recommend doing 2 things then: 1) Add that to your config with the new values anyway and 2) Fixing it in /library/core/functions.validation.php in the ValidateUsernameRegex function (just search the file for "3,20").
That way when you upgrade it will overwrite your hack in #2 and replace it with the new one that uses the config setting.0
Answers
$Configuration['Garden']['User']['ValidationLength'] = '{3,20}';
where 3 is the minimum length and 20 is the max length. Modify as desired.
6dde25fc (Tim 'Thunderpuncher' Gunter 2011-05-31 11:23:44 -0400 126) C("Garden.User.ValidationLength","{3,20}"));
That way when you upgrade it will overwrite your hack in #2 and replace it with the new one that uses the config setting.