The CAS User Ban module prevents the creation of users based on their CAS username.
When you delete a user, the module adds an option to ban the account, blocking future account regeneration.
Why this is useful?
CAS module can be configured to automatically create Drupal accounts on first-time CAS logins.
If a user has produced unwanted content (e.g., spam) and you delete both the user and their content, the account can be recreated on the next login.
This module lets you delete + ban in one step, so the user cannot log in again because the account won’t be recreated.
Note: The module does not prevent user login for existing users with a related banned CAS username.
Requirements
Supporting organizations:
Project information
- Project categories: Access control, Security
17 sites report using this module
- Created by aaron gil martinez on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.


