Skip to content

Cancelling "End User Agreement" from footer can result in logout of current session #5335

@tdonohue

Description

@tdonohue

Describe the bug

Discovered while testing #5323, but this issue was reproducible on the main branch prior to that PR.

If you click open the "User Agreement" from the footer and click "Cancel" you are logged out.

(NOTE: I have not tested the behavior on other branches yet. Just tested on main)

To Reproduce

Steps to reproduce the behavior:

  1. First, login as a user who has accepted the user agreement (or just login and accept the agreement to verify this works)
  2. In the footer, click on the "End User Agreement" link to view the user agreement again.
  3. Click the "Cancel" button. You are now logged out.
    • NOTE: clicking "Save" doesn't invalidate your session and you remain logged in.

Expected behavior

Obviously, clicking Cancel should not invalidate your session, just like clicking "Save" doesn't.

Related work

Related to #5323 and #5085, but was not caused by those. This is a slightly separate bug.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions