This module prevents the automatic recreation of Drupal user accounts based on CAS usernames. When a user is deleted, you can choose to also ban their CAS username, ensuring they cannot log in and have their account automatically recreated on subsequent CAS logins.
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
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | First stable! 🚀 | Oct 30, 2025 | |
| 1.1.0-beta1 | Pre-release | 10–11 | New features like manual banning, support for multiple user deletions, and the VBO module. | Sep 10, 2025 | |
| 1.0.0-beta1 | Pre-release | 10–11 | Jul 10, 2025 | ||
| 1.0.x-dev | Dev | 10–11 | Jun 12, 2025 |