It just struck me that I could register as ’admin’ on the Frontend!
It would be good if WebSignup is modified to look at and check against a list of reserved login names thus disallowing web users to register with certain usernames like webmaster, admin, administrator, moderator, manager, etc. , the list being specified by Role ID1. Such a list of "Reserved usernames" for WebSignup may prevent quite a few headaches; and will be good and wise to have.
Stan
-
☆ A M B ☆
- 24,524 Posts
Make a custom handler for the "OnBeforeWebSaveUser" event and compare the username submitted against an array of disallowed names, and return an error message in case of a match.
Thanks very much Susan.
It seems really simple, but it’s way beyond my php skills and db knowledge (of which I have very little, if not none at all). That’s why I put it in the Wishlist, hoping that someone more knowledgeable than me would code it.
Stan
Thanks a lot, I’ll give it a try as soon as I can.
Awesome! Working perfectly!
Thanks very much ganeshXL!