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;