I am trying to register a member with a two character username. Is this a possibility? I'd imagine I would need to hack the core, but is this a good idea? Where would I even get started with it?

2 Answers 2


Indeed, not long ago this would require a core hack.

Not sure exactly when this was fixed, but anyway these days you can add the following to your config.php file:

$config['un_min_len'] = 2; // allow a username w/only two characters

You can override minimum username length with a config variable. You can also change the minimum password length too, but I suggest not:

$config['un_min_len'] = '2';
$config['pw_min_len'] = '5';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.