Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a need to, for a short time, restrict the usernames which can successfully authenticate using webserver_auth. This patch allows my custom module to do that simply by implementing the alter hook.
I also have a need to make usernames lowercase because the backend (MS AD) is case-insensitive. This alter hook also makes this possible.
Also makes it possible to implement this feature request in another module: https://drupal.org/node/444024
Comment | File | Size | Author |
---|---|---|---|
webserver_auth.alter_.patch | 1.24 KB | ezheidtmann |
Comments
Comment #1
specky_rum CreditAttribution: specky_rum commentedThanks for the patch and apologies for the delay. I will check this out in the coming days.
Comment #2
specky_rum CreditAttribution: specky_rum commentedApologies again for the delay. This is now committed and in the latest dev release.
Comment #3
specky_rum CreditAttribution: specky_rum commented