I created a module but I'm looking to have this module to intercept a user log in. I want to prevent any users with "test" in their login name from using the site. Is there a way to do this?
Tell me more
×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.
Custom username validation would be an option
|
|||||
|
Hope this will help you, In Drupal 7 you can achieve this using Clientside Validation module.
Note : Once module is enabled go through README.TXT for documentation. References: |
||||
|