From 7c257ae8f92d5906b778c948fa54c9bae547bf65 Mon Sep 17 00:00:00 2001 From: AJV20 <24819659+AJV20@users.noreply.github.com> Date: Sun, 24 May 2026 13:35:41 -0400 Subject: [PATCH] fix: avoid prompt in passkey registration --- static/panels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/panels.js b/static/panels.js index ad4bf74a..ee9168fd 100644 --- a/static/panels.js +++ b/static/panels.js @@ -6961,7 +6961,7 @@ async function loadPasskeys(){ async function registerPasskey(){ if(!window.PublicKeyCredential||!navigator.credentials){showToast('Passkeys require a supported browser and secure context.');return;} - const label=(window.prompt('Name this passkey', 'This device')||'Passkey').trim(); + const label='This device'; try{ const optData=await api('/api/auth/passkey/register/options',{method:'POST',body:'{}'}); const pk=optData.publicKey;