Create new account and reset password tabs are missing when /user/login is set as the 403 page

Created on 1 July 2019, almost 5 years ago
Updated 4 April 2023, about 1 year ago

Problem/Motivation

when user go to the link " user/login ", 3 tabs are not showing on the top of the input form ( Log in / Create new account / Reset your password )

after I clear the site cache, it will showup again, but after working on the site for 20 minutes, those tabs are gone again, and then I clear the cache, it will showup again.......

Steps to reproduce

1. Add /user/login as 403 page on /admin/config/system/site-information (not sure if this is good but well.... i did).
2. Load a page (frontpage in my case) in an unauthenticate browser that returns a 403 status code. This renders the login form without tabs.
3. Try to load /user/login, now the login page is cached without tabs
4. Flush cache
5. Load /user/login, this will render and cache login page with tabs.
6. Goto same page as in step 2 (still unauthenticated) and you'll see the login form with tabs now.

The state after 6 will probably be reset when cache is timed out and any user hits a 403 page again. This will cache the page without tabs again.
From #8

Proposed resolution

TBD

Remaining tasks

Write a patch, with tests
Review
Commit

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

9.5

Component
User system 

Last updated 1 day ago

Created by

🇬🇧United Kingdom freelylw

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024