π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
chore(DeleteAccount):final-confirmation
Aswin Asok697b6e76cd74
diff --git a/web/apps/photos/src/components/DeleteAccount.tsx b/web/apps/photos/src/components/DeleteAccount.tsxindex 6409cf01a7..11b65bdd48 100644--- a/web/apps/photos/src/components/DeleteAccount.tsx+++ b/web/apps/photos/src/components/DeleteAccount.tsx@@ -133,11 +133,9 @@ const DeleteAccountDialogContents: React.FC<},onSubmit: async ({ reason, feedback }) => {if (step == "reason") {+ setStep("confirmation");+ setSummaryLoading(true);try {- setLoading(true);- await onAuthenticateUser();- setStep("confirmation");- setSummaryLoading(true);setSummary(await getAccountDeletionSummary());} catch (e) {if (isHTTPErrorWithStatus(e, 404)) {@@ -148,7 +146,6 @@ const DeleteAccountDialogContents: React.FC<onGenericError(e);}} finally {- setLoading(false);setSummaryLoading(false);}return;@@ -162,6 +159,7 @@ const DeleteAccountDialogContents: React.FC<await getAccountDeleteChallenge();if (allowDelete && encryptedChallenge) {+ await onAuthenticateUser();const decryptedChallenge =await decryptDeleteAccountChallenge(encryptedChallenge);await deleteAccount(