π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Give it a chance to kick in
Manav Rathi2f8abd5b7f87
diff --git a/web/packages/accounts/pages/credentials.tsx b/web/packages/accounts/pages/credentials.tsxindex 9e4be54a4f..72394087bb 100644--- a/web/packages/accounts/pages/credentials.tsx+++ b/web/packages/accounts/pages/credentials.tsx@@ -110,6 +110,19 @@ const Page: React.FC<PageProps> = ({ appContext }) => {const keyAttributes: KeyAttributes = getData(LS_KEYS.KEY_ATTRIBUTES,);+ const srpAttributes: SRPAttributes = getData(+ LS_KEYS.SRP_ATTRIBUTES,+ );++ if (srpAttributes) {+ const email = user.email;+ if (email) {+ void didPasswordChangeElsewhere(email, srpAttributes).then(+ (changed) => changed && showSessionExpiredDialog(),+ );+ }+ }+if (kekEncryptedAttributes && keyAttributes) {removeKey(SESSION_KEYS.KEY_ENCRYPTION_KEY);const cryptoWorker = await ComlinkCryptoWorker.getInstance();@@ -139,17 +152,8 @@ const Page: React.FC<PageProps> = ({ appContext }) => {return;}- const srpAttributes: SRPAttributes = getData(- LS_KEYS.SRP_ATTRIBUTES,- );if (srpAttributes) {setSrpAttributes(srpAttributes);- const email = user.email;- if (email) {- void didPasswordChangeElsewhere(email, srpAttributes).then(- (changed) => changed && showSessionExpiredDialog(),- );- }} else {router.push(PAGES.ROOT);}