Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

add(photos):add-checking-back

Aswin Asoka9a5baa5cd87
diff --git a/web/apps/photos/src/components/auth/PasskeyVerificationForm.tsx b/web/apps/photos/src/components/auth/PasskeyVerificationForm.tsx
index dfe19b5a13..3b45561bd8 100644
--- a/web/apps/photos/src/components/auth/PasskeyVerificationForm.tsx
+++ b/web/apps/photos/src/components/auth/PasskeyVerificationForm.tsx
@@ -43,6 +43,7 @@ export function PasskeyVerificationForm({
fullWidth
variant={stalled ? "primary" : "secondary"}
onClick={onRetry}
+ disabled={isChecking}
>
{pt("Open the browser window again")}
</Button>
@@ -111,10 +112,10 @@ export function PasskeyVerificationForm({
</>
)}
<FooterLinks>
- <TextLink onClick={onRecover}>
+ <TextLink onClick={onRecover} disabled={isChecking}>
{t("recover_account")}
</TextLink>
- <TextLink onClick={onChangeEmail}>
+ <TextLink onClick={onChangeEmail} disabled={isChecking}>
{t("change_email")}
</TextLink>
</FooterLinks>