Skip to content

Cancel on the vault unlock page opened from a permanent link loops back to it #4145

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Cancel on the vault unlock page opened from a permanent link brings the unlock page back every time. getCancelUrl in setupVaultUnlockGuard.ts returns /f/<fileId> as cancel URL, which resolves into the vault again.

Reproduction Steps

  1. Create a vault with a file and lock it (new session)
  2. Open the permanent link /f/<fileId> of the file
  3. Click Cancel on the unlock page, then press Back

Expected Outcome

Cancel goes to the folder that holds the vault, and Back doesn't trap the user.

Actual Outcome

Cancel and Back both land on the unlock page again; only the side navigation gets you out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions