Entire website error “access denied” if the module basic_auth is installed and shield is uninstalled

Created on 4 November 2024, 3 months ago

Problem/Motivation

If you have the module shield and basic_auth enabled, then you wanna uninstall shield, the whole site wil break, because on every page, even the login page /user/login, you wil receive a error "access denied".

Steps to reproduce

  1. Install core
  2. Install shield and enable it
  3. Install basic_auth
  4. uninstall shield

When you reinstall shield, the site will work again. If you uninstall shield AND basic_auth, then nothing get broken.

Core 10.3.6
shield: 8.x-1.8
basic_auth: 10.3.6

if it cannot be reproduced in this way, after step 4, install jsonapi 10.3.6 and create a views data export with basic_auth authentification. Maybe this is a critical part too.

Proposed resolution

You should be able to use the two modules together at the same time with no site break if you uninstall the shield module.

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

🇨🇭Switzerland handkerchief

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024