Describe the bug
After editing the password of a public link share of a .txt file and refreshing the page on the sharee side, the page shows username or password incorrect error despite showing the new password input screen.
Steps to reproduce
- user Alice uploads a text file
file.txt
- Alice creates a public link for that file with a password
- public opens that link in the incognito tab
- Alice edits the link with a new password
- public refreshes the page
Expected behavior
"new password prompt" screen should be shown.
Actual behavior
"username or password was incorrect" screen is shown:

Setup