π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
feat: open accounts portal in a new tab
httpjamesm609e4d1207f1
diff --git a/web/apps/photos/src/components/Sidebar/UtilitySection.tsx b/web/apps/photos/src/components/Sidebar/UtilitySection.tsxindex 8e00873c76..454ef55bfe 100644--- a/web/apps/photos/src/components/Sidebar/UtilitySection.tsx+++ b/web/apps/photos/src/components/Sidebar/UtilitySection.tsx@@ -103,11 +103,13 @@ export default function UtilitySection({ closeSidebar }) {const accountsToken = await getAccountsToken();- window.location.href = `${getAccountsURL()}${- ACCOUNTS_PAGES.ACCOUNT_HANDOFF- }?package=${CLIENT_PACKAGE_NAMES.get(- APPS.PHOTOS,- )}&token=${accountsToken}`;+ window.open(+ `${getAccountsURL()}${+ ACCOUNTS_PAGES.ACCOUNT_HANDOFF+ }?package=${CLIENT_PACKAGE_NAMES.get(+ APPS.PHOTOS,+ )}&token=${accountsToken}`,+ );} catch (e) {logError(e, "failed to redirect to accounts page");}