Optimize UserAuthenticationController by remove duplicate entity queries

Created on 23 December 2023, about 1 year ago
Updated 8 May 2024, 8 months ago

Problem/Motivation

Follow-up for ๐Ÿ“Œ Optimize user logins by avoiding duplicate entity queries Needs work - we can apply similar optimizations to the \Drupal\user\Controller\UserAuthenticationController - i.e. load the user entity if it's found, and pass it around to various methods, instead of keep issuing entity queries with the username.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Closed: duplicate

Version

10.3 โœจ

Component
User moduleย  โ†’

Last updated 5 days ago

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom catch

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024