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.
The d8 version sort of honored blocked users by creating a session and never letting them get anywhere. This patch should fix that. see also https://www.drupal.org/node/2475257 for version 7x
Comment | File | Size | Author |
---|---|---|---|
#6 | honor_blocked_users_earlier-2914190-6.patch | 700 bytes | el1_1el |
#2 | honor_blocked_users_earlier-2914190-2.patch | 815 bytes | el1_1el |
honor_blocked_users_earlier.patch | 799 bytes | el1_1el | |
Comments
Comment #2
el1_1el CreditAttribution: el1_1el commentedmissed a false check
Comment #5
mlhess CreditAttribution: mlhess as a volunteer commentedThanks!
Comment #6
el1_1el CreditAttribution: el1_1el commentedSorry, I messed this up. I think returning the anonymous user when the user is blocked is preferable when they are allowed. Patch attached
Comment #7
SuperfluousApostrophe CreditAttribution: SuperfluousApostrophe at Pennsylvania State University commentedThanks for the followup patch. This has been added to the 8.x-1.1 branch, which will soon be released as the first stable Alpha.
Comment #8
SuperfluousApostrophe CreditAttribution: SuperfluousApostrophe at Pennsylvania State University commentedThis has been integrated into 8.x-1.1-alpha1