I want to restrict some words that cannot be used as the username.
For example : "root","daemon","bin" etc.. I don't want any user to register their profile with the username as "root", "daemon" or "bin".
How can I restrict it?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
- Team Webgalli@webgalli

Team Webgalli - 0 likes
You must log in to post replies.Dumb Simple method is a registration of the users with those names and then ban'em all ;)
Another way is a blacklist in validate username
The proper way of doing it is by creating a plugin hook for registration action > cross check the provided username with the list and block the registration, if a matching word is found. This needs some knowledge on Elgg developments. If you are not familiar, you can hire a dev for this purpose.