"different account" notice in login form depend on request context processor
When the notice "You are authenticated as {{ username }}, but ..." (added as of #25163) is displayed on the admin login page, the username variable presence depends on the request context processor being present in the OPTIONS['context_processors'] key of the TEMPLATES setting. If not, you get:
You are authenticated as , but are not authorized to access this page. Would you like to login to a different account?
Maybe it's possible to feed the context with the username variable in the view instead?
Change History (5)
| Triage Stage: |
Unreviewed →
Accepted
|
| Owner: |
changed from nobody to Dan Stephenson
|
| Status: |
new →
assigned
|
| Has patch: |
set
|
| Triage Stage: |
Accepted →
Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned →
closed
|
Sure, would be fine to backport that too if you'd like.