Quote:
Originally Posted by Seraphyn
Hello. So, this file is for authenticating from a website to a gameserver. Now the issue is that people are able to put spaces after their account name and basically I would like to know if there is anothing anyone might be able to do with this code to prevent that from happening.
Thank you,
|
You can prevent embedded spaces, however I find that trailing spaces are automatically trimmed on my local dev site.
To see the options for username restrictions, follow:
AdminCP -> Settings -> Options -> User Registration Options -> Username Regular Expression