This patch add a new function to this module; we can select a vocabulary, if username is contained into this vocabulary the user validation fall (and user registration is not possible).

Bye

CommentFileSizeAuthor
username_check.patch4.21 KBmavimo

Comments

ardas’s picture

Status: Needs work » Closed (won't fix)

Not sure this functionality should be implemented in our module.
Even if we do this check this is NOT checked in a login form. This means that every user should be able to register with this name even if our check fails. So, this check will not help untill it is not moved to Drupal core (user module).

Your idea is good but you should send a proposition to Drupal core. This should be done on the level of Access Rules... for instance if they added a hook to develop our own access rules that would be great.

Thank you.