Add user-logged-in class to body

Created on 15 January 2025, 3 months ago

Problem/Motivation

It would be nice to be able to determine whether or not a user is logged in using css selectors; E.g. when using behat.

Proposed resolution

Add "user-logged-in" as body class when the user is logged in. The same class is also used in core themes.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇳🇱Netherlands casey

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024