User password reset form should use a more precise cache context

Created on 17 January 2025, 5 days ago

Problem/Motivation

This form declares it varies by the 'url.query_args' cache context. But when I look at the code, the only query arg (GET param) it relies on is "name". So the cache context should be 'url.query_args:name'.
See 🐛 "Taxonomy term ID from URL" default views argument should have url.path as cache context, not url Active or #2983187: Use more strict views url query argument caching for similar issues and why it matters.

Proposed resolution

MR is coming.

User interface changes

Possibly better performance.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Needs work

Version

11.1 🔥

Component

user.module

Created by

🇫🇷France GaëlG Lille, France

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