ente/web/apps/photos
Manav Rathi eecb8b70f4
[web][photos] Fix infinite loop on half-logins
Fix an infinite loop of navigation under the following conditions: key is valid
but token is not present.

Fix is to match the condition used in both gallery

    if (!key || !token) {

and the root page.

They seemed to have diverged in commit c3304571a9.

Was able to reproduce this when launching the desktop app such that the key was
picked up (possibly from a prior installation) from the secure keychain, but the
token was not found. I feel this is also a fix for a similar navigation loop
recently reported by QA but unreproducible so far.
2024-03-25 16:48:08 +05:30
..
public New Crowdin translations by GitHub Action 2024-03-23 10:40:49 +00:00
src [web][photos] Fix infinite loop on half-logins 2024-03-25 16:48:08 +05:30
tests Fix the upload tests 2024-03-13 14:25:07 +05:30
thirdparty Move into web/ 2024-03-01 12:21:07 +05:30
.env.development Fix the upload tests 2024-03-13 14:25:07 +05:30
.env.localhost [web] Disable the Cloudflare upload proxy when connecting to a custom endpoint 2024-03-06 09:51:19 +05:30
.eslintrc.js Move into web/ 2024-03-01 12:21:07 +05:30
next.config.js [web] Remove Sentry 2024-03-12 13:24:33 +05:30
package.json feat: configure passkey recovery on passkeys click 2024-03-11 13:24:25 -04:00
tsconfig.json Move into web/ 2024-03-01 12:21:07 +05:30