Username Character Restriction

  • Chris Nitsopoulos
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 5 months ago #106668 by Chris Nitsopoulos
Username Character Restriction was created by Chris Nitsopoulos
I am wanting to restrict the characters that can be used in a username when people register on the site. I have registration integration turned on so registration is handled by Membership Pro, however I can't seem to find anywhere to set the character restrictions.

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #106683 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Username Character Restriction
Hi Chris

At the moment, we don't have username restriction (as in Joomla, there is no restriction to username like username length or characters set...)

So at the moment, if you really want to restrict access to username, you will need to edit code. The file you need to edit is components/com_osmembership/controller/validator.php , method validate_username

I will also try to support some kind of restrictions to username in the next release of the extension

Regards,

Tuan

Please Log in or Create an account to join the conversation.