New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user login less than 4 letters #845
Comments
Yes its just a form check. I'm on my phone but check out
|
I have found something in /protected/modules_core/user/models/User.php. Can you please check is this a only one file where this value is checked? |
Yes, that is it. $rules[] = array('username', 'length', 'max' => 25, 'min' => 4); to $rules[] = array('username', 'length', 'max' => 25, 'min' => 3); Or whatever. |
thank you for helping me :) Its working. |
Glad I could help. Maybe this should be a setting under authentication settings of the admin center @luke- ? I know some people use short nicknames, for example mine is "WAS". I had to make this same edit, though for the ease of updating I just use my full username now. But maybe even then, some people maybe want to limit usernames at 7 characters to keep things unique rather then 4. Who knows. |
Hello.
I have just installed humhub. Is it possible to change user login length requirement to be less than 4 letters?
Cheers.
The text was updated successfully, but these errors were encountered: