UserCreationTrait::checkPermissions contains unreachable code

Created on 17 February 2025, about 2 months ago

Problem/Motivation

Splitting out from https://www.drupal.org/project/drupal/issues/2234295#comment-15699921 πŸ› drupalLogin() crashes where it should fail. Postponed: needs info

Steps to reproduce

See code

Proposed resolution

Remove $valid from checkPermissions

Remaining tasks

None

User interface changes

None

Introduced terminology

None

API changes

None

Data model changes

None

Release notes snippet

None

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

user.module

Created by

πŸ‡¦πŸ‡ΊAustralia acbramley

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