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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

el1_1el created an issue. See original summary.

el1_1el’s picture

  • mlhess committed 676ac66 on 8.x-1.x authored by el1_1el
    Issue #2914190 by el1_1el: honor blocked users completely
    

mlhess credited mlhess.

mlhess’s picture

Status: Needs review » Fixed

Thanks!

el1_1el’s picture

Sorry, I messed this up. I think returning the anonymous user when the user is blocked is preferable when they are allowed. Patch attached

SuperfluousApostrophe’s picture

Assigned: Unassigned » SuperfluousApostrophe
Status: Needs review » Reviewed & tested by the community

Thanks 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.

SuperfluousApostrophe’s picture

Version: 8.x-1.x-dev » 8.x-1.1-alpha1
Status: Reviewed & tested by the community » Fixed

This has been integrated into 8.x-1.1-alpha1

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.