Theme negotiator ignored or default theme is forced on logout

Created on 12 November 2024, 6 months ago

Theme negotiator ignored or default theme is forced on logout

On certain content types a different theme is used. Using either Theme Switcher module or a custom theme negotiator to change the theme. On auto logout it seems like the default theme is always loaded.

Inside the autologout event subscriber, there is line 188 "$this->theme->getActiveTheme();" which is causing this to happen. Removing the line fixes the issue and doesn't seem to cause any issues. This could be more on core's end needing the theme manager to check better but decided to point this out in case another method is needed in this area.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

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

Comments & Activities

Production build 0.71.5 2024