We placed the the openid_connect_login block on the /user/login page, but once we upgraded to 8.x-1.0-beta3, the block was no longer appearing. The cause is that the blockAccess method in the LoginBlock plugin class was updated to prevent access on the user.login and user.logout routes. Is there a reason for this? It seems the $account->isAnonymous() check should be sufficient.

Comments

godotislate created an issue. See original summary.

godotislate’s picture

Status: Active » Needs review
StatusFileSize
new629 bytes

Patch to remove route check in blockAccess.

sanduhrs’s picture

Status: Needs review » Fixed

Fixed in #2905669: Can't place login block in /user/login as it was a more complete implementation.
Thanks for the patch nonetheless.

Status: Fixed » Closed (fixed)

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