Optimize UserAuthenticationController by remove duplicate entity queries

Created on 23 December 2023, 6 months ago
Updated 8 May 2024, about 2 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 about 1 hour 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.69.0 2024