Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add a note

Manav Rathic4d5bc5aa7c5
diff --git a/web/apps/accounts/src/pages/passkeys/verify.tsx b/web/apps/accounts/src/pages/passkeys/verify.tsx
index a7694e57a2..ab79c53709 100644
--- a/web/apps/accounts/src/pages/passkeys/verify.tsx
+++ b/web/apps/accounts/src/pages/passkeys/verify.tsx
@@ -91,6 +91,10 @@ const Page = () => {
setStatus("waitingForUser");
+ // Safari throws "NotAllowedError: The document is not focused" if
+ // the console is open when we call `navigator.credentials.create`.
+ // Not adding any workarounds, just documenting their incompetence.
+
const credential = await signChallenge(options.publicKey);
if (!credential) {
setStatus("failed");