tensh |
|
---|---|
How to create a filter during registration, preventing user to create usernames with spaces or forbidden letters (like & or "')? |
|
Відредаговано: tensh (06.12.2012 09:05, 12 років тому) |
Kilandor |
|
---|---|
You will need to create a plugin that hooks into users.register.add.validate and then you may check for any characters you don't want and then present an error |
Macik |
|
||
---|---|---|---|
It needs simple plugin creation with «hooked» on With several lines of actual code:
Where «[/s&\'\?\"]» set of unallowed symbols. https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F |
tensh |
|
---|---|
Thank you very much :) |