Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Add ability to specify minimum username length

Open rebeld opened this issue 10 years ago • 4 comments

Your Rocket.Chat version: 0.29

This is echoed from a request on rocket.chat #support.

Add the ability to specify a minimum length for usernames on registration.

i.e: Usernames must be greater than [5] characters.

rebeld avatar May 10 '16 16:05 rebeld

Would be nice to have a setting for such validation.

But as a workaround, you can change the RegExp of UTF8 Names Validation setting (under Administration > General) to something like this: [0-9a-zA-Z-_.]{5,}

sampaiodiego avatar May 10 '16 18:05 sampaiodiego

Is this issue still open?

wildaces215 avatar Jun 05 '16 15:06 wildaces215

close

NeoTim avatar Jun 07 '16 00:06 NeoTim

I'll close this in favor of @sampaiodiego's answer and keep #4301 referenced

marceloschmidt avatar Sep 21 '16 13:09 marceloschmidt